Fix for Python error: This environment is externally managed
#555
havardthom
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Original thread: tteck/Proxmox#3300
TLDR: Execute
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
in the LXC console.Users that manually updates an LXC to Debian 12.6 will reintroduce the
/usr/lib/python3.*/EXTERNALLY-MANAGED
file, causing the error below when installing python packages with pip. Remove this file by executingrm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
in the LXC console.If you install new scripts or update LXCs using the LXC updater script you will not have this problem.
Beta Was this translation helpful? Give feedback.
All reactions