Using sudo with pip3?
Cameron Simpson
cs at zip.com.au
Sun Jan 8 01:30:29 EST 2017
On 07Jan2017 22:26, jim <jf_byrnes at comcast.net> wrote:
>You've convinced me. I will have to buckle down and figure out to use
>virtualenv/venv. I see Chris recommends venv. I read through PEP405 and this
>link https://docs.python.org/3.5/library/venv.html. I don't pretend to fully
>understand it all but it does seem to make a good case for using venv over
>virtualenv.
Note that it recommends:
python3 -m venv ...options... path/to/env_dir
which makes sure you're getting a venv based on a specific python executable;
in the case above whatever "python3" runs -- you could invoke a different
python 3 to use that instead.
It looks like aside from saying "python3 -m venv" instead of "virtualenv" my
previous example recipe should pretty much work for you.
Good luck.
Cheers,
Cameron Simpson <cs at zip.com.au>
More information about the Python-list
mailing list