3 ms·
Did you activate the virtual environment? For all the flak python gets, dependency setup is pretty simple if you're not flailing around aimlessly python3.12
by lijok 3y ago
Did you activate the virtual environment?
For all the flak python gets, dependency setup is pretty simple if you're not flailing around aimlessly
python3.12 -m venv --copies --clear --upgrade-deps ".venv"
source ".venv/bin/activate"
python -m pip install --upgrade pip setuptools wheel
python -m pip install --editable .
- laserlight 3y agoYes, I had activated the virtual environment. Thanks for the guide. It works without problems. I had used `virtualenv venv -p /usr/local/bin/python3.12` in my setup. Yours seems to be a better way.
- lijok 3y agoThat right there is the main problem with python dependency management - too many damn ways to do the same thing. And to think "There should be one-- and preferably only one --obvious way to do it." is in the Zen of Python...