mirror of
https://github.com/EDCD/EDDN.git
synced 2025-05-01 23:51:31 +03:00
docs/Running: Assume python3 for virtualenv
This commit is contained in:
parent
7ad46d409b
commit
a55d1c3616
@ -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:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user