Answers for "python virtuaenv"

13

create a venv

# Create the virtual environment.
python -m venv venv

# Activate the env.
venv\Scripts\activate.bat
Posted by: Guest on June-16-2020
0

virtualenv

# installs PIP globally
curl https://bootstrap.pypa.io/get-pip.py | python

# installs virtualenv globally
pip install virtualenv

# creates a virtualenv
virtualenv -p python2.7 venv

# activates the virtualenv
source venv/bin/activate
Posted by: Guest on October-26-2021

Browse Popular Code Answers by Language