Answers for "how to activate and deactivate python virtual en"

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
3

how to deactivate virtualenv

# This would only work when you have virtualenv activated.
# Kinda obvious, but I guess I'll point it out.

# Just type in this in your shell:
deactivate
Posted by: Guest on August-15-2020

Code answers related to "how to activate and deactivate python virtual en"

Python Answers by Framework

Browse Popular Code Answers by Language