Ah, the dreaded error: externally-managed-environment! Yeah, Python’s been cracking down on system-wide installs to avoid conflicts.
The safest bet is definitely using a virtual env. Just run:
```
python -m venv myenv
source myenv/bin/activate # or .\myenv\Scripts\activate on Windows
pip install your-package
```
If you *really* need to bypass it (not recommended), `--break-system-packages` works, but you might regret it later.
Check out the [Python docs on venvs](https://docs.python.org/3/tutorial/venv.html) for more deets.
The safest bet is definitely using a virtual env. Just run:
```
python -m venv myenv
source myenv/bin/activate # or .\myenv\Scripts\activate on Windows
pip install your-package
```
If you *really* need to bypass it (not recommended), `--break-system-packages` works, but you might regret it later.
Check out the [Python docs on venvs](https://docs.python.org/3/tutorial/venv.html) for more deets.
