[TriLUG] Python help?
Cristóbal Palmer via TriLUG
trilug at trilug.org
Tue Oct 8 15:06:20 EDT 2024
On Tue, Oct 8, 2024, at 14:59, Brian McCullough via TriLUG wrote:
>
> venv/bin/python app.py
This rings an alarm bell for me, because it is (depending on the context/environment) not sufficient to actually load the venv.
In contexts where I call a python script that requires libs added via pip in a venv, I always have a shell wrapper that calls the ‘activate’ script for the venv
Warmly,
CMP
More information about the TriLUG
mailing list