Answers for "making virtual environment in windows"

18

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
1

create virtualenv in windows python

#Creating Python virtualenv in Windows

#If python is installed in your system, then pip comes in handy.
#So simple steps are:
#1) Install virtualenv using

pip install virtualenv 
#2)Now in which ever directory you are, this line below will create a virtualenv there

virtualenv myenv
#And here also you can name it anything.

#3) Now if you are same directory then type,

myenv\Scripts\activate
Posted by: Guest on March-18-2022

Code answers related to "making virtual environment in windows"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language