Answers for "python venv pip"

4

how to use virtual environment python

python3 -m venv env
Posted by: Guest on April-10-2020
0

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

pip3 venv install

python3 -m venv /path/to/new/virtual/environment
source <venv>/bin/activate
Posted by: Guest on March-17-2021

Browse Popular Code Answers by Language