How to fix "Python not recognized..." (now also for Windows 7)

Users who are viewing this thread

LCJr

Knight
(Edit)NOTE: For Windows 7, you can find 2 fixes here, lower in the thread.


---

OK so you've got the module system and the first time to try to do anything you get "python not recognized as internalexternal command, operable program or batch file.".

Here's how you getting working for Windows 2000 and XP.

Right click on "My Computer" and select "Properties".  Next select the "Advanced" tab and click on "Environmental Variables".

screenshot1

In the top window, user variables, select "New".  In the pop up window that comes up give the variable a name and enter the path where Python is installed preceded by a semicolon.  Then click "OK".
For this example the variable is given the name "Python" and Python is installed in C:\Python25.

screenshot2

When you're done it should look like this.  Then click on "OK" to close all windows.

screenshot3

If you're using an older version of Windows or can't follow these instructions go to http://www.python.org/doc/faq/windows/#how-do-i-run-a-python-program-under-windows

Instructions for Vista.
http://www.neuralwiki.org/index.php?title=Guide_to_installing_Python_in_Windows_Vista
 
I have done this .... still failing

i went to enviroment variables and typed in ;C:\Pythoon25
then restarted

any ideas on what to do next would be much apprechiated
 
If you're using something besides W2K or XP or can't follow these instructions go to http://www.python.org/doc/faq/windows/#how-do-i-run-a-python-program-under-windows

 
If you're using something besides W2K or XP or can't follow these instructions go to http://www.python.org/doc/faq/windows/#how-do-i-run-a-python-program-under-windows
 
If you're using something besides W2K or XP or can't follow these instructions go to http://www.python.org/doc/faq/windows/#how-do-i-run-a-python-program-under-windows
Exagerated size I know.
 
Try this, Im not sure if it works though (I dont have vista so I cant check).

http://forums.taleworlds.com/index.php/topic,33942.msg877152.html#msg877152
 
Tried this tut, the one on the website, and ven downloading activepython.


I just cant get it to register.

Edit: Just tried something, and It works.

Instead of typing ;C:\Python25, type ";C:\Python25"

For some reason, adding those quote marks makes it work. I dunno, could be a windows service pack difference or something.
 
Taimat396 said:
Tried this tut, the one on the website, and ven downloading activepython.


I just cant get it to register.

Edit: Just tried something, and It works.

Instead of typing ;C:\Python25, type ";C:\Python25"

For some reason, adding those quote marks makes it work. I dunno, could be a windows service pack difference or something.

Might help somebody else if say which OS and SP you're using.
 
I use Xp SP2, and everything people recommended for me failed. Even when using " marks.

But using same way you do it in Vista worked.
 
Okay guys, tried the different solutions in this thread, tried the vista way to.

Checked both the windows Faq list that was linked to and checked

http://forums.taleworlds.com/index.php/topic,33942.msg877152.html#msg877152

Yet nothing seemed to work.
XP Home ED, SP2.

Help would be appreciated.
 
Back
Top Bottom