Answers for "new venv for project"

9

create a venv

# Create the virtual environment.
python -m venv venv

# Activate the env.
venvScriptsactivate.bat
Posted by: Guest on June-16-2020
0

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"
Posted by: Guest on October-21-2021

Browse Popular Code Answers by Language