Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
101 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[...
Danila Ganchar's user avatar
0 votes
0 answers
103 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 ...
Je Je's user avatar
  • 582
1 vote
1 answer
788 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. ...
Shiny's user avatar
  • 41
0 votes
0 answers
36 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 ...
Boomerang20thCentury's user avatar
1 vote
1 answer
90 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 ...
sjl26916091's user avatar
0 votes
1 answer
438 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 │ ├─...
Partho Debnath's user avatar
1 vote
1 answer
59 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 ...
M B's user avatar
  • 13
0 votes
0 answers
107 views

I have a script that utilizes picamera on a raspberry pi 5. It's been working great for months, the all of sudden it started throwing errors. Here is the start of the script # Import libraries import ...
Siggi's user avatar
  • 425
0 votes
0 answers
89 views

Hi i've got some issues using DeepFace python library in touchdesigner, i've installed python 3.11 and other packages realted like pandas,tensorflow,numpy to make DeepFace work properly on my MacOs ...
ENRICO SCIGLIUTO's user avatar
1 vote
2 answers
142 views

I am trying to use Spyder 6 IDE on Ubuntu 24.04. After installation of Spyder 6, I changed the default python interpreter to my virtual environment running Python 3.11 and installed spyder-kernels==3....
katmatzidis's user avatar
0 votes
1 answer
257 views

I'm attempting to deploy a lambda function using python and the boto3 dependencies to interact with a CloudFront key store. I'm getting an error I don't quite understand suggesting I don't have ...
BusinessFawn's user avatar
2 votes
1 answer
68 views

I am trying to write a program to time sailing races, and to simplify adding the boats to a race by selecting from a list. I have used a Treeview linked to a tk.StringVar() to filter the boats by ...
Michael's user avatar
  • 23
1 vote
1 answer
224 views

I am working on a package that includes a server with the corresponding client. I was thinking that I could save a lot of effort mocking all the interactions and just write some test cases that test ...
Uuruurrgh's user avatar
-1 votes
2 answers
202 views

I am getting a weird error after upgrading the Django version from 4.0 to 4.2.15. The error being encountered is: RecursionError: maximum recursion depth exceeded while calling a Python object. The ...
user2580's user avatar
  • 204
1 vote
1 answer
2k views

There are three vulnerabilities: CVE-2024-45490, CVE-2024-45491 and CVE-2024-45492). It looks, these vulnerabilities get fixed as part of https://github.com/python/cpython/issues/123678 But when I ...
Sumanshu Nankana's user avatar
0 votes
2 answers
135 views

I have a working logger module built on DBR 10.4/python 3.8 platform that creates the log and periodically export to a blob storage. Recently we've moved to DBR 15.2/python 3.11, and now the logger ...
ArniBandyo's user avatar
1 vote
1 answer
354 views

I'm trying to import and use chromadb to play as a vector store for my RAG application. But it is giving ImportError as it is trying to import pypika packages in the backend which I cannot control ...
Pradiksha Devi's user avatar
0 votes
0 answers
393 views

I am currently trying to log using the SMTPHandler class from Python's logging module. The logger is instantiated just fine, but fails when calling _socket.getaddrinfo even though it is being passed ...
dabo_tusev's user avatar
1 vote
0 answers
207 views

I am defining a logger and periodically exporting the content to a blob. I've been using it for some time with DBR 10.4/python 3.8 without any issue. However we've moved to DBR 15.2/python 3.11, and ...
ArniBandyo's user avatar
3 votes
1 answer
11k views

I've been trying to test out a colony counter code I found on GitHub that could be of use. However, the windows that generates when i run the code aren't the same as the ones that are demonstrated in ...
Luis Cruz's user avatar
0 votes
0 answers
1k views

I recently had my work computer changed due to IT policy and had to reinstall my Python environment. My work computer is Policy controlled so I cannot install Python from the official Python.org ...
soumikbi's user avatar
3 votes
0 answers
94 views

Screenshot of Visual Studio Code terminal As shown in the screenshot, python works just fine in Powershell. I then activate the virtual environment at E:\DrewFTCAPI\ftcapivenv and python is gone. Not ...
Drew Wingfield's user avatar
0 votes
0 answers
236 views

Error Response is this, "message": "Error when deserializing class 'SpatialDropout1D' using config={'name': 'spatial_dropout1d', 'trainable': True, 'dtype': 'float32', 'rate': 0.4, '...
Heli dhimmar's user avatar
2 votes
2 answers
323 views

I am using a sybase ase 15 database. And I have a column of type image (this column stores SQL querys) so I have to convert it to varchar to return the text. The problem is that I can't return more ...
PeByte's user avatar
  • 53
-1 votes
1 answer
73 views

I'm learning the Python programming language with the book "Self-taught Programmer" and just really starting out. no idea or knowledge previously so I'm currently stuck on working with ...
Anthony Ezenwaka's user avatar

1
2 3 4 5
8