Answers for "how to create virtual evironment for python"

45

python virtual environment

python3 -m venv env
python -m virtualenv env #py2

source env/bin/activate

#all this is on same directory
Posted by: Guest on June-05-2020
-2

activate venv in python

(tutorial-env) $ python -m pip install --upgrade requests
Collecting requests
Installing collected packages: requests
  Found existing installation: requests 2.6.0
    Uninstalling requests-2.6.0:
      Successfully uninstalled requests-2.6.0
Successfully installed requests-2.7.0
Posted by: Guest on December-19-2020

Code answers related to "how to create virtual evironment for python"

Python Answers by Framework

Browse Popular Code Answers by Language