setting virtual environment on windows

setting python virtual environment On windows

Installation :

go to the location where you wand to start your development
cd LOCATION WHERE YOU WNAT TO CREATE VIRTUAL ENVIRONMENT

eg
cd c:\development\python\

Creating virtual envioriment

Scripts\virtualenv.exe venv
eg
c:python311Scriptsvirtualenv.exe venv
Activation :  following command will activate your virtual environment
venv\Scripts\activate

Categories