Answers for "virtualenv venv why we use"

1

virtualenv

pip install virtualenv
# Creating a virtual env.
virtualenv myvirtualenv
# activating
source env/bin/activate
# on windows 
.envScriptsactivate
Posted by: Guest on February-15-2022
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

Python Answers by Framework

Browse Popular Code Answers by Language