We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d8e60 commit e0b27c8Copy full SHA for e0b27c8
doc/faq/virtualenv_faq.rst
@@ -100,7 +100,7 @@ implemented in a script as below. To use this modify ``PYVER`` and
100
PYTHON=${PATHTOPYTHON}python${PYVER}
101
102
# find the root of the virtualenv, it should be the parent of the dir this script is in
103
- ENV=`$PYTHON -c "import os; print os.path.abspath(os.path.join(os.path.dirname(\"$0\"), '..'))"`
+ ENV=`$PYTHON -c "import os; print(os.path.abspath(os.path.join(os.path.dirname(\"$0\"), '..')))"`
104
105
# now run Python with the virtualenv set as Python's HOME
106
export PYTHONHOME=$ENV
0 commit comments