Answers for "creating an environment in pyton"

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
5

create venv in windows

# windows
python -m venv <venv-name>
# To activate
#C:\Users\..\<venv-name>
.\Scripts\activate.bat
Posted by: Guest on December-26-2020

Code answers related to "creating an environment in pyton"

Python Answers by Framework

Browse Popular Code Answers by Language