Skip to Content.

mget-help - RE: [mget-help] problem with Python 2.5

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: "Jason Roberts" <>
To: "'Meissner, Anna'" <>
Cc: <>
Subject: RE: [mget-help] problem with Python 2.5
Date: Thu, 3 Jan 2013 18:20:25 -0500

Dear Anna,

 

I’m sorry you’re having trouble. I should be able to help you fix it.

 

I have a few questions:

 

1.    If I recall correctly, ArcGIS 9.3 installs Python 2.5 automatically (specifically, version 2.5.1, I believe) unless you disable it. Did you disable it when you installed ArcGIS? Or is it missing from your machine some reason that you know? Or are you trying to use a newer version of 2.5 than what ArcGIS provided?

 

2.    I did not completely understand what you said regarding pywin32. Did the pywin32 installation succeed or fail? And if it failed, are you saying that its failure message was very similar to what MGET said? (Can you please provide an exact copy of it?)

 

Although I’d have to hear your answers to these questions to be sure, I believe the problem relates to the fact that Python 2.5.6 is a “source only” release. This means that it is a .zip file that includes the source code, that you install by unzipping some place as you have done. The problem is that Python packages such as MGET and pywin32 use an installation program that checks the Windows Registry for the location of your Python installation. When you install a source release, the unzipping merely extracts files. It does not update the Windows Registry with that location information. As a result MGET and pywin32 cannot determine where your Python is installed.

 

If this is indeed the problem, it can be remedied by deleting the source release that you extracted, and then installing the most recent “binary release” of Python 2.5 instead. This is Python 2.5.4. The “binary releases” are installed via an installation program rather than a .zip extraction. This program updates the Windows Registry, in addition to installing the files. Then, you can try pywin32 and MGET again and they should work.

 

The differences between Python 2.5.4 and 2.5.6 are negligible and all related to specific computer-security problems that are not applicable to any work you do with ArcGIS. There is no advantage to going with 2.5.6 over 2.5.4 for what you are doing, and going with 2.5.6 will in fact require you to compile the source files after you have extracted them, a complicated and lengthy procedure.

 

I hope that helps. If you answer my questions I can have a better idea what is happening...

 

Best regards,

 

Jason

 

From: Meissner, Anna [mailto:]
Sent: Thursday, January 03, 2013 5:48 PM
To:
Subject: [mget-help] problem with Python 2.5

 

Hi there,


I am working on ArcGIS 9.3 and am trying to instal MGET. My computer is running under Windows XP.

As suggested in the website, I have downloaded MGET for ArcGIS 9.3 (MGET-0.8a46.win32-py2.5.exe).

I have to download 32-bit Python 2.5. However, Python 2.5 has been replaced by a newer bugfix release: Python 2.5.6 Therefore, I have downloaded Python 2.5.6

I have extracted Python 2.5.6 into C: \  as C: \Python25\\

I have downloaded the most recent build for pywin32 Python package (Build 218). So I have downloaded pywin32-218.win32-py2.5.exe

Running MGET I get the following error message

---------------------------------------------------

Running the pre-installation script failed

Traceback (most recent call last):

  File "<string>", line 227, in <module>

RuntimeError:

The Python for Windows Extensions (a.k.a. the pywin32 package) are

not installed for this version of Python. MGET requires this package.

Please download it from http://sourceforge.net/projects/pywin32/, install

it, and run this MGET setup program again.

When you download it, be sure to select the package that is appropriate

for your version of Python (version 2.5)

---------------------------------------------------

If I download pywin32-218.win32-py2.5.exe I get the same error message

 

Any advise would be very much appreciated. Thanks a lot for your help!

 

Kindest regards,

 
Anna Meissner

-------------------------------------------------
Anna M. Meissner
PhD student
Coastal-Marine Research Group
Institute of Natural Sciences
Massey University
Private Bag 102 904
North Shore City, 0745
Auckland, New Zealand

Tel: +64 9 414 0800 ext 41520
Cell: +64 22 603 6646
Fax: +64 9 443 9790

Email:
Web: http://cmrg.massey.ac.nz
-------------------------------------------------

Archives powered by MHonArc.
Top of Page