Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install 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: #install #venv
ADD COMMENT
Topic
Name
7+3 =