Thanks to visit codestin.com Credit goes to github.com
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 22a7b95 commit 28aa9f4Copy full SHA for 28aa9f4
1 file changed
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