Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
1 answer
103 views

I'm trying to use Pyttsx3 to play three messages using text-to-speech. However, it's only playing the first message. How can I play all three? I'm currently using Python 3.11 on VSC #Imports import ...
2 votes
1 answer
119 views

I'm trying to create a function dynamically. Here is an example: import ast import textwrap from typing import Any, Callable, List, Union def create_function( func_name: str, arg_types: List[...
4 votes
1 answer
103 views

There are two tasks in a task group. One of them raises, the other one should be cancelled. This works fine in Python 3.12+, but freezes in Python 3.11. Older versions did not support task groups. Is ...
0 votes
0 answers
178 views

I am trying to setup Apache-Superset, so that it uses OpenStreetMap instead of MapBox. I am currently using Superset in their local Python Version (not the Docker one), I have modified the config.py ...
0 votes
0 answers
230 views

I’m trying to run Chatterbox TTS on Modal Notebooks. Modal by default uses Python 3.12, but chatterbox requires dependencies (like numpy==1.25.2) that fail to build because distutils was removed in ...
1 vote
1 answer
1k views

I was trying to uninstall Python 3.11 from my Windows 11 Pro 24H2 laptop. When I tried from: Windows Settings → Apps or Control Panel → Programs and Features the uninstallation failed multiple times. ...
0 votes
0 answers
44 views

Technical Details The stall occurs in a C function from a shared library that performs numerical calculations for Rayleigh wave phase velocities Using py-spy, I traced the issue to this specific ...
0 votes
0 answers
37 views

We have to manage several Python versions for several requirements and we have three different Python versions: 3.8, 3.11 and 3.12. When executing the Waitress server with a specific version, it does ...
-1 votes
1 answer
196 views

Very simply! I have a function app - function_app.py, trigger.py and init.py in the root Its my first Azure Function App. if i run the two files separately, function_app.py, trigger.py, they both ...
1 vote
1 answer
96 views

I have downloaded and installed the macOS 64-bit universal2 installer for Python 3.11.0 - Oct. 24, 2022 from macOS 64-bit universal installer on my Apple M4 Silicon macBook Pro. When I open the ...
1 vote
1 answer
257 views

I was playing around with Path objects and found an interesting behaviour. When testing with python3.11, Path.glob returns a generator object. >>> from pathlib import Path >>> >&...
0 votes
1 answer
510 views

How can I run the ASGI and WSGI protocols separately in my Django project? This is my project structure. . ├── chat # <== my app name │ ├── apps.py │ ├── consumers.py │ ├── __init__.py │ ├─...
3 votes
1 answer
427 views

I have the following code: def from_utf8(string: bytes | str) -> str: if isinstance(string, bytes): return string.decode("utf-8") else: return string # <- type ...
1 vote
1 answer
62 views

I am having difficulties understanding logic of optimizing multip-rocessing in Python 3.11. Context: I am running on Ubuntu 22.04, x86 12 cores / 32 threads, 128 GB memory Concerns: (Please refer to ...
0 votes
0 answers
30 views

I'm doing a basic Python Flask application with a Postgres database using psycopg2. I'm having trouble setting up the user registration password hash as it appears I'm working with a string vs byte ...

15 30 50 per page
1
2 3 4 5
...
27

AltStyle によって変換されたページ (->オリジナル) /