It’s usually best to install Django to a virtual environment, where your project can be isolated from your other Python projects. Most commands assume you’re working in an active virtual environment.
Create a virtual environment
$ python –m venv v
Activate the environment (Linux and OS X)
$ source v/bin/activate
Activate the environment (Windows)
Install Django to the active environment
(venv)$ pip install Django