How to Fix 'Mac error: externally-managed-environment' – Anyone Else Facing This? or Getting 'Mac err

18 Replies, 916 Views

Bro, macOS is just being extra. The Mac error: externally-managed-environment is their way of forcing you to use venvs.

But hey, it’s not all bad. Venvs keep your projects isolated and clean.

If you’re on Python 3.3+, just do:
```
python -m venv ~/myprojectenv
source ~/myprojectenv/bin/activate
```
Then pip away. No more errors!

Messages In This Thread



Users browsing this thread: 1 Guest(s)