Answers for "why we create virtualenv in python"

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
4

setting p a virtual envioronment

#Creating a Virtual Environment | Windows 10
#Proceed to the folder were you want to create your environment, Then enter the following:
...> py -m venv project_name
#To activate the environment, run:
...> project_nameScriptsactivate.bat
#Then install Django using pip
...> py -m pip install Django
Posted by: Guest on June-11-2020

Code answers related to "why we create virtualenv in python"

Python Answers by Framework

Browse Popular Code Answers by Language