Answers for "python env requirements _name_ _namin"

2

creating venv python3

# CREATE FOLDER FOR A PROJECT
mkdir project_folder
cd project_folder

# CREATE VIRTUAL ENVIRONMENT
python3.7 -m venv myvenv 
# or alternativelly
virtualenv myvenv --python=python3.7

# ACTIVATE VIRTUAL ENVIRONMENT
source myvenv/bin/activate
Posted by: Guest on August-21-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 "python env requirements _name_ _namin"

Python Answers by Framework

Browse Popular Code Answers by Language