Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create venv

# Install venv on linux
sudo apt install python3.8-venv

# Create a venv directory
python3 -m venv tutorial-env

# Activate venv enviroment (do outside the created venv directory)
source tutorial-env/bin/activate

# Save activation as an alias for quick startup
alias runvenv="source tutorial-env/bin/activate"
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #create #venv
ADD COMMENT
Topic
Name
7+9 =