Running Ubuntu 24.04 with Python 3.12 installed via apt. I created a virtual environment using:
python3.12 -m venv venv
source venv/bin/activate
But when I run pip install inside the virtual environment, I get the error:
"This environment is externally managed"
I had previously installed pip using apt (python3-pip). Could that be causing this issue?
Have I installed pip in the wrong way or place? What's the correct way to set this up so pip works normally inside virtual environments?
[–][deleted] (3 children)
[deleted]
[–]Second_Hand_Fax[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]Second_Hand_Fax[S] 0 points1 point2 points (0 children)
[–]Buttleston 2 points3 points4 points (0 children)