![]() |
|
How to fix 'error: externally-managed-environment' when installing Python packages? or Getting 'error - Printable Version +- Proxy Community (https://proxycommunity.com/forum) +-- Forum: Tutorials and Setup Guides (https://proxycommunity.com/forum/forum-tutorials-and-setup-guides) +--- Forum: Computer Setup (Windows/MacOS/Linux/ChromeOS) (https://proxycommunity.com/forum/forum-computer-setup-windows-macos-linux-chromeos) +--- Thread: How to fix 'error: externally-managed-environment' when installing Python packages? or Getting 'error (/thread-how-to-fix-error-externally-managed-environment-when-installing-python-packages-or-getting-error) |
“” - DataMask88 - 29-03-2025 error: externally-managed-environment is Ubuntu’s way of keeping you safe from yourself. If you *must* use system pip, try: ``` sudo apt install python3-pip --reinstall ``` Then `pip install --upgrade --user`. But venv is still better. |