We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 643939a commit 6900a51Copy full SHA for 6900a51
Doc/using/venv-create.inc
@@ -121,6 +121,10 @@ directory containing the virtual environment):
121
| | PowerShell | PS C:\\> <venv>\\Scripts\\Activate.ps1 |
122
+-------------+-----------------+-----------------------------------------+
123
124
+When a virtual environment is active, the :envvar:`VIRTUAL_ENV` environment
125
+variable is set to the path of the virtual environment. This can be used to
126
+check if one is running inside a virtual environment.
127
+
128
You don't specifically *need* to activate an environment; activation just
129
prepends the virtual environment's binary directory to your path, so that
130
"python" invokes the virtual environment's Python interpreter and you can run
0 commit comments