PDA

View Full Version : Installing Django on XP



icu222much
26 Jan 2009, 09:30 PM
I am trying to install Django on my XP system. I have downloaded and installed Python 2.6.1. I have just downloaded and extracted Django 1.0.2. I was reading the website (http://www.djangobook.com/en/2.0/chapter02/) and it says that the following step is to run command line in the directory that starts with Django and run the following code "python setup.py install". I went to start->run->cmd. I changed my directory to my unzipped Django directory (C:\Documents and Settings\me\Desktop\Django-1.0.2-final) and entered the code "python setup.py install". It didn't work as it reported the following error: " 'python' is not recognized as an internal or external command, operable program or batch file. "

Did I mess something up or miss a step?

icu222much
26 Jan 2009, 09:49 PM
Problem fixed. I had to enter "setup.py install" instead of "python setup.py install".