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 871047d commit 84630e2Copy full SHA for 84630e2
1 file changed
Doc/tutorial/venv.rst
@@ -88,6 +88,11 @@ For example:
88
'~/envs/tutorial-env/lib/python3.5/site-packages']
89
>>>
90
91
+Note that the activated virtual environment does not alter the ``PYTHONPATH`` variable in any way.
92
+This may lead to unexpected results if the path includes references to code which is incompatible with
93
+the Python version the virtual environment is using. The best practice is to ``unset PYTHONPATH``
94
+in bash or the equivalent for the shell you are using.
95
+
96
To deactivate a virtual environment, type::
97
98
deactivate
0 commit comments