Getting the 'python error: externally-managed-environment' – How to Fix and Work Around It?

18 Replies, 1608 Views

Hey! So, the python error: externally-managed-environment happens because your OS is protecting its own Python packages.

One workaround is to use `--user` flag with pip:
```bash
pip install --user <package>
```
This installs the package locally for your user, so it won’t interfere with system packages.

Messages In This Thread



Users browsing this thread: 1 Guest(s)