Q:

activate virtualenv windows

# Create the virtual environment.
python -m venv venv

# Activate the env.
venv\Scripts\activate.bat
4
venv\Scripts\activate
2
\env\Scripts\activate.bat
1
#in the terminal
cd_yourdir 
>pip install virtualenv
>virtualenv "__" #(any name on the place of string whatever you want)
E.G.
> virtualenv venv
>D:Projectdir/venv/scripts/activate.bat
  DONE !!!
# It will look like this now

(venv) D:/projectdir>
0
Create a Virtual Python Environment
cd to your project directory and run virtualenv to create the new virtual environment.

The following commands will create a new virtual environment under my-project/my-venv.

cd my-project
virtualenv --python C:\Path\To\Python\python.exe venv
0
virtualenv mypython
1
$ virtualenv -p /usr/bin/python2.7 virtualenv_name
0
venv\Scripts\activate
0

New to Communities?

Join the community