Difference between revisions of "Virtualenv"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
* Help: <code>[[virtualenv --help]]</code>
 
* Help: <code>[[virtualenv --help]]</code>
  
* Creation: <code>[[virtualenv]] my_new_enviroment</code>
+
Creation:  
 +
 
 +
* <code>[[virtualenv]] my_new_enviroment</code>
 +
* <code>[[virtualenv my_new_env/venv]]</code>
 
or
 
or
 
* <code>python3 -m venv /path/to/new/virtual/environment</code>
 
* <code>python3 -m venv /path/to/new/virtual/environment</code>
 
or
 
or
<code>python3 -m venv ./</code>
+
* <code>python3 -m venv ./</code>
  
 
To activate new enviroment:
 
To activate new enviroment:
  [[source]] my_new_enviroment/bin/activate
+
  [[source]] my_new_enviroment/bin/[[activate]]
 
  [[deactivate]]
 
  [[deactivate]]
  
 
== Related terms ==
 
== Related terms ==
 +
* <code>[[error: externally-managed-environment]]</code>
 
* <code>[[venv]]</code>
 
* <code>[[venv]]</code>
 
* <code>[[virtualenv venv]]</code>
 
* <code>[[virtualenv venv]]</code>
 
* <code>[[pip list]]</code>
 
* <code>[[pip list]]</code>
 
* [[Pipenv]]
 
* [[Pipenv]]
 +
* <code>[[pipx]]</code>
 +
* <code>[[pipenv shell]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 04:56, 6 June 2024

Advertising: