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

Python • Re: Why must we use --break-system-packages?

$
0
0
Why must we use --break-system-packages?

"We" shouldn't.

Option 1:
Look for a package in apt, install that and use the system python environment.

Option 2:
Use a venv possibly with the --system-site-packages option.

Option 3:
Go back to the old way:

Code:

sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.bak 
You'll probably need to adjust that path for the actual python version you have installed.

Statistics: Posted by thagrol — Tue Sep 16, 2025 8:52 pm



Viewing all articles
Browse latest Browse all 7619

Trending Articles