Answers for "virtualenv pythion 3"

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
0

virtualenv python2

virtualenv --python=/usr/bin/python2.6 <path/to/new/virtualenv/>
Posted by: Guest on November-27-2020

Python Answers by Framework

Browse Popular Code Answers by Language