Skip to main content
2 votes
1 answer
90 views

For some reason, this code doesn't work on Ubuntu 20, Python 3.8.10, unless the .gather line is commented out. It works on Ubuntu 24, Python 3.12.3 and Windows 11, Python 3.13.9. It doesn't work on ...
WorkerZ's user avatar
  • 23
0 votes
0 answers
280 views

I was trying to launch chromium browser using remote-debugging-pipe in python, but there is a problem everytime I tried to do so, I am using this code, I got help from gemini and chatgpt but they don'...
Muhammad Ali's user avatar
-1 votes
0 answers
256 views

I'm trying to override the default exception handler in a FastAPI application so I can log any exceptions that happen. The problem that I run into is that my handler seems to run as it logs what I ...
bl4met's user avatar
  • 3
-1 votes
2 answers
60 views

**I want to make a module. The modules can easy to use Python. But I'm in trouble. The code is: class EasyPy: def easy_print(self, condition, implementation): if implementation is None: ...
qingrushui's user avatar
0 votes
0 answers
74 views

I'm trying to install mysqldb on python3.8 (Windows 11 24H2). I initially had issues with VSC++14 but I managed to solve them. pip install -U flask_mysqldb error: subprocess-exited-with-error ...
Christian Mahamba's user avatar
0 votes
0 answers
59 views

Using old python version 3.8.6. I created virtual environment in /var/virtualenvs/myvenv and installed mypkg.bouncer.client but when we import that, it gives below error. Traceback (most recent call ...
NPatel's user avatar
  • 21.4k
0 votes
2 answers
76 views

We're working on a message-based communication mechanism. We have several classes that manage incoming messages and send outgoing messages at a high level (Commands, Queries, and Events). Underneath, ...
Trauma's user avatar
  • 173
2 votes
2 answers
63 views

Please consider the following toy example, which mimics what I'm trying to achieve in my real-world application: import flax import jax def op(x): return x - 1 @flax.struct.dataclass class ...
0xbadf00d's user avatar
  • 18.4k
-2 votes
1 answer
229 views

My code so far: def _ssl_context(self, ca: str | None) -> ssl.SSLContext: # NOTE: ssl.create_default_context() doesn't allow setting the context.protocol in a way # that's the ...
Dima Tisnek's user avatar
  • 11.9k
0 votes
1 answer
98 views

Just some background, so this doesn't end up being an XY Problem: The Squish library has some basic methods to do tests, test.verify, test.compare, etc. Because the screenshot functionality is not ...
Karoly Horvath's user avatar
-2 votes
1 answer
349 views

I got this error: from fake_useragent import UserAgent File "D:\Kerja\HIT\Python Projects\Ongoing Projects\Andrew Mancilla\mancilla-env\lib\site-packages\fake_useragent\__init__.py", ...
Aminah Nuraini's user avatar
0 votes
0 answers
46 views

The problem happened right after I executed the command on the discord server. This problem has happened many times on my win7 despite trying and fixing it in many ways such as upgrading pip, checking ...
W STAR's user avatar
  • 9
0 votes
1 answer
78 views

The program terminates automatically without throwin any error or output The port and connector working fine and details are given below C:\Users\jsr>pip list Package Version --------...
sud0074's user avatar
  • 107
0 votes
0 answers
81 views

import json import os from kubespawner import KubeSpawner class CustomKubeSpawner(KubeSpawner): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) def load_config(self): ...
Jr Dna's user avatar
  • 51
-1 votes
1 answer
50 views

I have a Python3 project arranged as follows: C:\automation\framework\constants.py C:\automation\tests\unit-tests\test_myunittest.py In my unit test, I'm trying to call methods in framework folder, ...
bearaman's user avatar
  • 1,091

15 30 50 per page
1
2 3 4 5
151