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

0 Members and 3 Guests are viewing this topic.

Graylord

  • Grandmaster Knight
  • *
  • Fiddlesticks, i say!
    • View Profile
    • Ultimate Gamer
  • Faction: Vaegir
Re: How to fix "Python not recognized..."
« Reply #30 on: August 08, 2008, 10:15:33 PM »
okay, It's just not working for me. I have Vista, and everything I've seen on here does not work. it still says Python not recognized as a blah blah blah...
I have rebooted my computer, and I have reinstalled it. it's just not working. any more tips?

Try to exchange the Forwardshlashes with backshlashes.

A politically correct solution is an incorrect solution.
A correct solution wouldn't need to be politically correct.

Ruthven

  • Revs lil' helper
  • Grandmaster Knight
  • *
  • crushie crushie crushie
    • View Profile
  • Faction: Neutral
  • MP nick: irc://Ruthven
Re: How to fix "Python not recognized..."
« Reply #31 on: August 26, 2008, 01:22:26 AM »
I'll try that, thanks.

EDIT: I am the stupidest person I know. it's all working now, because I just downloaded the module system. not python. now I just finished downloading Python and now I'm starting on my Mongol Invasion Mod. of course keeping my best idea for 1.0...
« Last Edit: August 26, 2008, 01:55:45 AM by Mad Skillz »

Lordtromble

  • Veteran
  • *
    • View Profile
  • Faction: Neutral
Re: How to fix "Python not recognized..."
« Reply #32 on: September 11, 2008, 09:03:24 PM »
I just installed Python and did both this tutorial and the Python website walk through.
I was having the same problems described here and took a short break then re -looked at everything, and found the problem in the python instructions indicated path for python24 and THe latest download was python 25, heck there was no path location LOL. Simple fix, yet elusive at times that one little typo from reading different walkthroughs.
I also placed the statement in path att he beginning of the path, C:\python25; C:\otherpathfolders;.....
Adding the New variable was also necessary, sorry I cannot get a screenshot here... yet
Hope this helps someone out 

Tromble

xDaslicex

  • Recruit
  • *
    • View Profile
    • Clan xENx Wc3 clan
  • Faction: Khergit
  • WF&S
Re: How to fix "Python not recognized..."
« Reply #33 on: September 17, 2008, 10:53:35 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

look for the video that says adding python to DOS Path tutorial video

heres link http://showmedo.com/videos/video?name=960000&fromSeriesID=96 [nofollow]

i think this is for xp and 2000 or w/e

this worked for me
Wc3 to M&B to COD4... Too many to play at once which should i choose O_O"

smokeys

  • Recruit
  • *
    • View Profile
  • Faction: Vaegir
Re: How to fix "Python not recognized..."
« Reply #34 on: October 16, 2008, 12:11:36 AM »
FOR VISTA USERS!!

Hey people, i've seen loads of people asking about the problem when you're using vista -- assuming that it doesnt matter which version of vista, the following should sort it out:
  • Install whichever version of python as normal
  • Simply copy and paste the python.exe and python.dll files into the ModuleSystem folder and all should be well
  • (The environment variables didn't seem to do anything until i copied these files, but i'd do it anyway to be sure)

PM me if you have any issues  :D

Archonsod

  • An old salt from the mainland
  • Forum Legend
  • *
  • Beannachd Dé Rígh Alban
    • View Profile
    • My Gamer's Gate profile
  • Faction: Neutral
  • MP nick: CoR_G_Archonsod
  • M&BWBWF&S
Re: How to fix "Python not recognized..."
« Reply #35 on: October 16, 2008, 12:37:11 AM »
The environment variables should work fine. In fact, Vista profiles them separately for each user account, which is nice.
Scottish if forced, English by will and reiver by grace of blood.

FrisianDude

  • Coitus non Awesome
  • Grandmaster Knight
  • *
  • ... and let's keep this as civil as possible
    • View Profile
  • Faction: Neutral
  • MP nick: OLL_SirAndelot/Warden Leo
  • M&BWB
Re: How to fix "Python not recognized..."
« Reply #36 on: October 23, 2008, 03:15:12 PM »
FOR VISTA USERS!!

Hey people, i've seen loads of people asking about the problem when you're using vista -- assuming that it doesnt matter which version of vista, the following should sort it out:
  • Install whichever version of python as normal
  • Simply copy and paste the python.exe and python.dll files into the ModuleSystem folder and all should be well
  • (The environment variables didn't seem to do anything until i copied these files, but i'd do it anyway to be sure)


Hey, that's pretty smart, thanks. Only, after this, I got errno 13: "permission denied" so I ran it as administrator only then "it doesn't recognize Python as internal or external command, programme, or BAT"  and that's the same it said before I had the .exes and .dlls in the ModuleSystem folder.  :o I'm getting quite confused.
Nords ruled by King Ragnar, Khergits ruled by Sanjar Khan, Rhodoks ruled by King Graveth, Swadians ruled by King Harlaus, Vaegirs ruled by King Yaroglek. All those peoples live, fight, and die in the continent of Calradia. The Nords and Rhodoks field solely infantry and archers, the Swadians and Vaegirs have infantry, archers and cavalry and the Khergit field almost exclusively cavalry. No such things as "infarty" or "calvary" exist. A nice link to my mod ;)

Joyce

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: How to fix "Python not recognized..."
« Reply #37 on: October 31, 2008, 05:02:06 PM »
FOR VISTA USERS!!

Hey people, i've seen loads of people asking about the problem when you're using vista -- assuming that it doesnt matter which version of vista, the following should sort it out:
  • Install whichever version of python as normal
  • Simply copy and paste the python.exe and python.dll files into the ModuleSystem folder and all should be well
  • (The environment variables didn't seem to do anything until i copied these files, but i'd do it anyway to be sure)


Hey, that's pretty smart, thanks. Only, after this, I got errno 13: "permission denied" so I ran it as administrator only then "it doesn't recognize Python as internal or external command, programme, or BAT"  and that's the same it said before I had the .exes and .dlls in the ModuleSystem folder.  :o I'm getting quite confused.
The exact thing is happening to me now its pissing me off :evil:

sorry about the language guys
« Last Edit: November 01, 2008, 12:16:41 PM by Joyce »

Warger

  • Squire
  • *
  • Birmingham Longswords, the best in the business.
    • View Profile
    • Exilian
  • Faction: Nord
  • MP nick: Major_Blunder_M_OL
Re: How to fix "Python not recognized..."
« Reply #38 on: November 09, 2008, 11:48:33 PM »
I managed by adding ;C:\Python25 to the 'Path' variable in XP SP2. Just like a poster suggested earlier.

Javolenus

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: How to fix "Python not recognized..."
« Reply #39 on: November 10, 2008, 01:18:05 AM »
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

Hi There,

I've tried everything but cannot get windows to recognise Python. I've read this thread and tried the various things suggested. I've spent 2 hours on this and am still failing. I just wondered if anyone had come up with any other fixes? Sorry to ask, but cannot get this working. MY OS is Windows XP. Thanks in advance and apologies again . . .

EDIT: Apologies - now I got it working. Although I'm using XP, I had to use the Vista option for Python. Thanks again.
« Last Edit: November 10, 2008, 08:59:43 AM by Javolenus »

Calodine

  • Southern Poof
  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • MP nick: irc://Calodine
Re: How to fix "Python not recognized..."
« Reply #40 on: November 10, 2008, 06:13:13 PM »
Just started coming here again, and had to reinstall Python...The thing I said earlier in the thread didnt work this time :P Though that thing posted ^ for Vista works, which seems a little odd. Ah well.
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.

StumpyPershaw

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: How to fix "Python not recognized..."
« Reply #41 on: November 13, 2008, 01:42:24 AM »
I'm not sure if it's just me, but I'm using Winders XP SP3.

I had to go to Control panel > System > Advanced tab > then click the Environment Variables button.

Algol

  • Recruit
  • *
    • View Profile
  • Faction: Neutral
Re: How to fix "Python not recognized..."
« Reply #42 on: November 14, 2008, 08:44:29 AM »
So, I'm using XP.  I can and DID follow your instructions... to the letter, and I still get the error.  If I start python through the start menu, python comes up fine, but if I click on the build_module bat file I get the error.  Since python is installed, the instructions on python's website are useless (or at least the one's I found are).  What I need to know is how to get it to open that specific file.

Drewry

  • Veteran
  • *
    • View Profile
    • Druvianism
  • Faction: Swadian
  • M&BWBWF&SNW
Re: How to fix "Python not recognized..."
« Reply #43 on: November 14, 2008, 01:57:43 PM »
I'm on Vista 64 and I'm also getting the Errno 13 permission error.  I've tried just about everything and so far no luck.

Galtran

  • Knight
  • *
    • View Profile
  • Faction: Sarranid
  • MP nick: Galtran
  • WB
Re: How to fix "Python not recognized..."
« Reply #44 on: November 14, 2008, 06:21:38 PM »
I'm on Vista 64 and I'm also getting the Errno 13 permission error.  I've tried just about everything and so far no luck.

did you try adding ;C:\python25 directly to the end of the PATH variable(instead of creating a new for python)?
I´m on Vista32 and it works just fine