@theorytoe
I agree, this IS annoying, but man, come on, using venv isn't complicated at all:

python3 -m venv .
./bin/activate.sh
pip3 install some_shit

You can then use this dir and move it around (mostly) without worrying about system-wide python getting upgraded.
Besides, you can always force it to install modules user- or system-wide and have leftovers in site-packages — which was kinda annoying too.

Follow

@theorytoe
Why? I even run shit in venv from runit with no issues.
Just source the activate script first: ". bin/activate", then "exec python3 whatever.py" — you're all set!

@m0xee ive always had issues with running anything from a service script with venv stuff

i have never had a good time with it
Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml