Answers for "initialize venv python"

9

create a venv

# Create the virtual environment.
python -m venv venv

# Activate the env.
venv\Scripts\activate.bat
Posted by: Guest on June-16-2020
13

create a virtualenv python

pip install virtualenv
cd projectfolder #go to project folder
virtualenv projectname #create the folder projectname 
source projectname/bin/activate
Posted by: Guest on April-30-2020
1

python create virtualenv

c:\>python -m venv c:\path\to\myenv
Posted by: Guest on September-28-2020

Python Answers by Framework

Browse Popular Code Answers by Language