Resolved - Raspberry Pi OS Debian 12 (bookworm) - Python - error: externally-managed-environment #1149
Replies: 1 comment
-
English (german below): I solved the error "error: externally-managed-environment" on Raspberry Pi OS Debian 12 (bookworm). I modified the files The modified files Please rename files after downloading: German: Ich habe den Fehler "error: externally-managed-environment" auf Raspberry Pi OS Debian 12 (bookworm) gelöst. Ich habe die Dateien Die angepassten Dateien Files to download: |
Beta Was this translation helpful? Give feedback.
-
Hello,
i use Raspberry Pi OS Debian 12 (bookworm).
After start "./install_prereq.sh" i get this error:
How is the solution?
If possible, please provide step by step instructions.
Thanky you.
I found an unusual solution in this blog:
https://www.jeffgeerling.com/blog/2023/how-solve-error-externally-managed-environment-when-installing-pip3
The blog says:
"delete the EXTERNALLY-MANAGED file in your system Python installation"
sudo rm -rf /usr/lib/python3.11/EXTERNALLY-MANAGED
But is this really a right solution?
LG
Beta Was this translation helpful? Give feedback.
All reactions