Python 3: This environment is externally managed

Have you run into this message while trying to install using python? “This environment is externally managed”? What a frustrating experience! There are many methods, including one where you install break system packages. No thanks. This is a safe way to take care of this error (below). Have fun!

sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.old

Leave a comment

Your email address will not be published. Required fields are marked *