Sunday, March 3, 2013

INTALLING DJANGO FROM PYTHON (the smart way)

To Install Django you don't need to download it from somewhere else. If you have Python installed in your PC you can do this swiftly and easily by following this post.

First you need to move into directory where your Python is installed by typing the command in command prompt
cd C:/Python2.X 

Now you will see a Scripts directory in Python folder. You must have Scripts in your Python Path. You can do this by adding semicolon(;) and appending C:\PythonX\Scripts just like you did while installing Python. To see how to set environement varaibles check the first screen-shot of my THIS post. So going on type the command
cd Scripts
Now type the command to install Django
easy_install django

If you follow any issue while following this post then you must first install setuptools for windows. You can read more about it here

No comments:

Post a Comment