Author Topic: How to fix "Python not recognized..." (now also for Windows 7)  (Read 33627 times)

0 Members and 2 Guests are viewing this topic.

LCJr

  • Why, back in my day...
  • Knight
  • *
    • View Profile
    • Earlier Days mod
  • Faction: Neutral
(Edit)NOTE: For Windows 7, you can find 2 fixes here.

http://forums.taleworlds.com/index.php/topic,131597.0.html

-Highelf


---

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
« Last Edit: September 23, 2010, 05:38:14 AM by Highelf »
Earlier Days Mod for 0.903, no longer in development.
http://www.moddb.com/mods/10926/earlier-days

Mirimus

  • Recruit
  • *
    • View Profile
Re: How to fix "Python not recognized..."
« Reply #1 on: April 12, 2008, 05:08:23 PM »
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

Highlander

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • MP nick: irc://Highlander
  • WB
Re: How to fix "Python not recognized..."
« Reply #2 on: April 12, 2008, 05:36:25 PM »
Yes, Python is spelled with one "o".

Mirimus

  • Recruit
  • *
    • View Profile
Re: How to fix "Python not recognized..."
« Reply #3 on: April 12, 2008, 05:40:46 PM »
i know that was a typo

LCJr

  • Why, back in my day...
  • Knight
  • *
    • View Profile
    • Earlier Days mod
  • Faction: Neutral
Re: How to fix "Python not recognized..."
« Reply #4 on: April 12, 2008, 05:45:19 PM »
Quote
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

Earlier Days Mod for 0.903, no longer in development.
http://www.moddb.com/mods/10926/earlier-days

Mirimus

  • Recruit
  • *
    • View Profile
Re: How to fix "Python not recognized..."
« Reply #5 on: April 12, 2008, 05:47:02 PM »
i read that bit im using xp

LCJr

  • Why, back in my day...
  • Knight
  • *
    • View Profile
    • Earlier Days mod
  • Faction: Neutral
Re: How to fix "Python not recognized..."
« Reply #6 on: April 12, 2008, 05:53:24 PM »
Quote
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
Earlier Days Mod for 0.903, no longer in development.
http://www.moddb.com/mods/10926/earlier-days

Mirimus

  • Recruit
  • *
    • View Profile
Re: How to fix "Python not recognized..."
« Reply #7 on: April 12, 2008, 08:42:57 PM »
that just says what you just said

Mirimus

  • Recruit
  • *
    • View Profile
Re: How to fix "Python not recognized..."
« Reply #8 on: April 12, 2008, 08:43:55 PM »
i was saying this dosent work for me any ideas on what i can do next

DarkAnd

  • Sergeant Knight at Arms
  • *
  • St marcos palmeiras, the best keper in the world.
    • View Profile
  • Faction: Nord
Re: How to fix "Python not recognized..."
« Reply #9 on: April 13, 2008, 06:41:16 AM »
Quote
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.

Jlgx50

  • Grandmaster Knight
  • *
  • Senior Initiate
    • View Profile
    • FalloutMod forum
  • Faction: Vaegir
  • MP nick: Jlgx50
  • M&BWB
Re: How to fix "Python not recognized..."
« Reply #10 on: April 20, 2008, 09:17:29 AM »
What do i do if i have Vista ?

grailknighthero

  • Knight at Arms
  • *
  • www.games-workshop.com
    • View Profile
  • Faction: Neutral
  • M&B
Re: How to fix "Python not recognized..."
« Reply #11 on: April 20, 2008, 09:40:25 AM »
Try this, Im not sure if it works though (I dont have vista so I cant check).

http://forums.taleworlds.net/index.php/topic,33942.msg877152.html#msg877152
The Peasants' Rebellion: Warhammer Battles - a custom battle mod featuring TW/Warhammer style formations/battles for M&B - currently in development.

LCJr

  • Why, back in my day...
  • Knight
  • *
    • View Profile
    • Earlier Days mod
  • Faction: Neutral
Earlier Days Mod for 0.903, no longer in development.
http://www.moddb.com/mods/10926/earlier-days

Calodine

  • Southern Poof
  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • MP nick: irc://Calodine
Re: How to fix "Python not recognized..."
« Reply #13 on: April 23, 2008, 01:15:09 AM »
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.
« Last Edit: April 23, 2008, 01:18:33 AM by Taimat396 »
im digging it. I'd hit that hard man. In fact I'd hit that so hard i'd probably puncture something, and you'd start bleeding internally and shit, and i'd still be ******** you right up until your dead. Then I'd make a protein shake, drink that shit, have a smoke, come back and continue ******** your corpse, and i'd keep ******** it until your ghost had babies.

LCJr

  • Why, back in my day...
  • Knight
  • *
    • View Profile
    • Earlier Days mod
  • Faction: Neutral
Re: How to fix "Python not recognized..."
« Reply #14 on: April 24, 2008, 01:25:02 AM »
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.
Earlier Days Mod for 0.903, no longer in development.
http://www.moddb.com/mods/10926/earlier-days