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 ea5a636 commit 3584d4bCopy full SHA for 3584d4b
1 file changed
Doc/using/venv-create.inc
@@ -126,6 +126,10 @@ directory containing the virtual environment):
126
| | PowerShell | PS C:\\> <venv>\\Scripts\\Activate.ps1 |
127
+-------------+-----------------+-----------------------------------------+
128
129
+When a virtual environment is active, the :envvar:`VIRTUAL_ENV` environment
130
+variable is set to the path of the virtual environment. This can be used to
131
+check if one is running inside a virtual environment.
132
+
133
You don't specifically *need* to activate an environment; activation just
134
prepends the virtual environment's binary directory to your path, so that
135
"python" invokes the virtual environment's Python interpreter and you can run
0 commit comments