Search Results
6/28/2025, 11:32:46 PM
Working with virtual python environments in Arch Linux.
Getting older pythons from AUR (e.g. aur.archlinux.org/packages/python310), installing them and then:
python3.10 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
works fine as expected. But when I try to do same shit with uv:
uv venv --python 3.12.11
source .venv/bin/activate
pip install -r requirements.txt
I get "error: externally-managed-environment" as if the venv isn't working. What am I missing here?
Getting older pythons from AUR (e.g. aur.archlinux.org/packages/python310), installing them and then:
python3.10 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
works fine as expected. But when I try to do same shit with uv:
uv venv --python 3.12.11
source .venv/bin/activate
pip install -r requirements.txt
I get "error: externally-managed-environment" as if the venv isn't working. What am I missing here?
Page 1