It defines seperate workspace for your django projects.
Follow the steps to create virtual environment on windows:
- Make sure that you have installed python on your system, if not click here to know about how to install python on windows
Open terminal or cmd prompt ==> change direction to which you want to create your virtual environment
I am going to install on the path as shown in above image.
Type == > python -m venv your-vitual-environment-name and press Enter
In above myVirtualEnv is the virtual enviroment. to make sure it is created just Goto ==> your path provide in terminal and search for virtual env name that you given while creating.
Created virtual enviroment folder contains as follows:
To Activate Virtual Environment ,
== > Goto terminal ==> \path to virtualenv folder\Scripts\activate.bat ==>press Enter
Comments
Post a Comment