docs/Running: Assume python3 for virtualenv

This commit is contained in:
Athanasius 2022-03-14 16:53:18 +00:00
parent f5879fbce7
commit c6e5820683

View File

@ -253,15 +253,11 @@ anything else it's best to use a Python virtual environment (venv). You
will have installed the Debian package 'virtualenv' [above](#as-root) for will have installed the Debian package 'virtualenv' [above](#as-root) for
this purpose. this purpose.
We'll put the venv in `${HOME}/dev/python2.7-venv` with the following We'll put the venv in `${HOME}/dev/python-venv` with the following
command: command:
cd ${HOME}/dev cd ${HOME}/dev
virtualenv -p /usr/bin/python2.7 ${HOME}/dev/python2.7-venv virtualenv ${HOME}/dev/python-venv
And for future ease of changing python versions:
ln -s python2.7-venv python-venv
And now start using this venv: And now start using this venv: