Python/venv: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „* setup environment <pre> python3 -m venv env </pre> * activate environment <pre> source env/bin/activate </pre>“)
 
No edit summary
Line 7: Line 7:
<pre>
<pre>
source env/bin/activate
source env/bin/activate
</pre>
* check which environment is used
<pre>
which python
</pre>
</pre>

Revision as of 16:11, 14 June 2020

  • setup environment
python3 -m venv env
  • activate environment
source env/bin/activate
  • check which environment is used
which python