Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5368

Troubleshooting • Re: Raspi5 fails to pip-install PyQt5 in a Python-Venv

$
0
0
What do you mean by "system packages"?

I created it from within Python using:

Code:

soutput = subprocess.run(["python3.11", "-m", "venv", "__venv"])

So that looks like a 'NO'.

Explanation at https://www.raspberrypi.com/documentati ... vironments
Tip
Pass the --system-site-packages flag before the folder name to preload all of the currently installed packages in your system Python installation into the virtual environment.


But I'm puzzled.

If you can install the package via apt, why do you ALSO feel the need to install it with pip as well?



{I confirm that pip install of this module hammers my RPi5-4 processors, causes the un-cooled board to throttle, saturates my extended 2G of Swap space and eventually gets Killed.}

Statistics: Posted by B.Goode — Sat Aug 10, 2024 3:02 pm



Viewing all articles
Browse latest Browse all 5368

Trending Articles