How to install Django python framework in windows 10

We know Django is the python framework ,so it only work with python installed system,before starting Django we should install python.So lets see how to install python in windows 10. Fortunately installing python is so easy

Step 1)

Install python in windows 10

First you need to get the python installer,as of now latest python version that support Django is Python 3.6.7. Go to and Download Python 3.6.7 and install don’t forget to tick add python 3.6 tp PATH,it will assign PATH variable


Step 2)

Check python installed successfully

open CMD in windows

will respond like below
Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 13:35:33) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.


Step 3)

install pip if not installed in your system

D:\my_project >

Step 4)

Create a project directory, you can create project directory anywhere in your system,here i created in my D drive with name my_project
then move current directory to project directory in CMD

D:\my_project >

Step 5)

Install virtual environment using pip
D:\my_project>pip install virtualenv Create a virtual environment with name env_mysite you can rename anything as per your reference D:\my_project>virtualenv env_mysite

Step 6)

Activate virtualenv

env_mysitePS D:\my_project>

Step 7)

Install django

env_mysitePS D:\my_project>pip install "django>=2.1,<2.2"

Step 8)

Open in any browsers

Congratulation you installed Python django framework

Leave a Reply

Your email address will not be published. Required fields are marked *