Why would even try to do that, when all you have to do is runWhat do you mean by "system packages"?
I created it from within Python using:Code:
soutput = subprocess.run(["python3.11", "-m", "venv", "__venv"])
Code:
python.11 -m venev __venv
And it is not a bug in bookworm, it's a problem with the pyqt package installing in bookworm that the maintainers for pyqt need to investigate.
You're installing the cutting edge version with pip. Unless you have a good reason for using that, use the stable version that gets installed with apt and set your venv to use the system packages.
Alternatively, install the same version of pyqt in your venv with pip.(Specify the version you want, otherwise you get the latest), possibly requiring a build and might take longer to install, but is the same version and is isolated to your venv.
Statistics: Posted by memjr — Sat Aug 10, 2024 3:51 pm