User Tools

Site Tools


python_virtual_environment_recipe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

python_virtual_environment_recipe [2024/07/09 07:31] – created tkbletscpython_virtual_environment_recipe [2024/07/09 07:34] (current) tkbletsc
Line 1: Line 1:
 ====== Python virtual environment recipe ====== ====== Python virtual environment recipe ======
 +
 +Note: On Ubuntu, you may need to install the ''python3-venv'' package first.
  
 Create a setup.sh script: Create a setup.sh script:
Line 7: Line 9:
  
 # Create virtual environment # Create virtual environment
-python -m venv myenv+python3 -m venv myenv
  
 # Activate virtual environment # Activate virtual environment
Line 42: Line 44:
  
 </code> </code>
 +
  
python_virtual_environment_recipe.1720535494.txt.gz · Last modified: by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki