Using virtualenv to bypass sudoer issues
roegltd at gmail.com
Mon Feb 10 17:01:17 CET 2014
On Monday, February 10, 2014 4:46:31 PM UTC+2, Jean-Michel Pichavant wrote:
> > Call the venv version of python and activation is handled.
> > E.g. in a fabfile
> > myenv/bin/python myscript.py
> > --
> > Pete Forman
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> wow, the solution is so nice and simple.
venv activation (venv/bin/activate bash script) adds venv/bin
directory in venv into PATH variable in front of PATH's current value.
if you plan to use pip or any other executable in venv/bin directory
without running bin/activate, they have to be also addressed via
absolute path too. It also defines deactivate bash function and
if i am not wrong one environment variable to flag activation
More information about the Python-list