#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,
myenvScriptsactivate
for windows
make a directory using mkdir nameofthedirectory
enter the directory using cd
then enter the following :
>pip install virtualenv
then name the virtualenv
>virtualenv somename
then activate the virtualen
on Windows, virtualenv creates a batch file
>yourvirtuallenname Scriptsactivate.bat
### install virtualenvwrapper ###
pip install virtualenvwrapper-win
### Add an environment variable WORKON_HOME to specify the path to store environments. By default, this is %USERPROFILE%Envs. ###
### ↓↓↓ use cmd or cmder (don't use ps terminal) for any of the following commands ↓↓↓ ###
### list venvs ###
lsvirtualenv
### create venv (automatically activated after creation) ###
mkvirtualenv <name>
### remove venv ###
rmvirtualenv <name>
### activate venv ###
workon <name>
### deactivate venv ###
deactivate
### General Syntax ###
mkvirtualenv [-a project_path] [-i package] [-r requirements_file] [virtualenv options] <name>