Creating Virtual Environment in Python.

It defines seperate workspace for your django projects.

    Follow the steps to create virtual environment 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