On Tue, Nov 11, 2008 at 1:40 AM, John Antony <[EMAIL PROTECTED]> wrote:
> > I am currently using Vista OS > I have installed Python in the path > D:\Python26\ > and extracted the tarred file downloaded from www.djangoprojects.com > ie "Django-1.0.tar.gz" in the path > D:\Python26\Django-1.0\Django-1.0 > I am however unable to intall Django > on typing the following command in command prompt I get this error: > > D:\Python26\Django-1.0\Django-1.0>python setup.py install > 'python' is not recognized as an internal or external command, > operable program or batch file. > The Python installer did not put the directory containing the python.exe executable in the Windows PATH environment variable. That is why all the Django instructions for Windows generally drop the 'python' from such commands, since on Windows usually all you can count on when writing instructions is that the Python installer set up an association between '.py' files and the python executable. So, if you drop the python from the front of the command, that should work. However, I have heard reports that the association created by the Python 2.6 installer on Vista is broken, see here: http://groups.google.com/group/django-users/msg/1d00809e826fa8c3 So, you may need to fix that as described in that message. You can also put the path to python.exe in your Windows system path, so that you can use the 'python whatever' form of commands. In older versions of Windows you would do that by going to Start->Settings->Control Panel, choosing "System", selecting the "Advanced" tab, clicking on "Environment Variables", and finding/editing the one for PATH. I do not know if that has changed in Vista. Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---