There are different ways of installing Django , but i found this way is easier .

First steps to be followed to install Django

a) Install Virtualenv

Step 1: Install Virtualenv

goto https://pypi.python.org/pypi/virtualenv

Find the latest version and

Step 2 : Find the latest version

virtualenv-15.1.0.tar.gz (md5, pgp) —> Download

Step 3: Unzip the downloaded version

Extract virtualenv-15.1.0.tar.gz (md5, pgp)

Step 4: Open the Command prompt and type cd and the path where you saved your file

cd  C:\Users\Prasanna\Downloads\virtualenv-15.1.0

Step 5:Then type the below command

setup.py install

b)Create and activate virtual environment:

Create virtual environment by name ‘myenv’

type the below command in your command prompt

type cd ..

>python -m virtualenv myenv

 

 

Advertisements