Q:

how to create virtualenv in specific directory in windows

\env\Scripts\activate.bat
1
 > myenv\Scripts\activate
1
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

New to Communities?

Join the community