Skip to Content.

mget-help - RE: [mget-help] Python 2.4 support?

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: "Jason Roberts" <>
To: <>
Cc: <>
Subject: RE: [mget-help] Python 2.4 support?
Date: Thu, 15 Oct 2009 12:19:07 -0400
Hi Bruce,

To promote the portability of geoprocessing models that include MGET tools, 
we moved the primary location of the toolbox to C:\Program 
Files\GeoEco\ArcGISToolbox several months ago. I apologize for not making 
this more obvious. We need to create a FAQ on the MGET home page that 
includes this issue.

The reason for this change is that we discovered that ArcGIS geoprocessing 
models internally refer to tools using a path to the toolbox, rather than the 
toolbox name or alias. This caused problems when someone wanted to give a 
model to their friend, but their friend had a different version of Python or 
had Python installed on a different directory. For example, if you had Python 
2.4 and built a model that included MGET tools, the model internally 
contained a reference to 
C:\Python24\Lib\site-packages\GeoEco\ArcGISToolbox\Marine Geospatial Ecology 
Tools.tbx. If you copied this model onto a machine that had Python 2.5, the 
MGET toolbox would be in C:\Python25. When you opened the model, ArcGIS would 
complain that it couldn't find the MGET tools, because it would be looking in 
C:\Python24.

To solve this problem, we had to put the toolbox in a location that was 
likely to be the same on all machines. We considered creating our own 
subdirectory from the root of C:, such as C:\GeoEco, but decided that 
C:\Program Files was common enough that we could put it in there. Although it 
is technically possible for users to change their official Windows Program 
Files directory to a different location, it causes so many problems that even 
Microsoft was afraid to change C:\Program Files to a different name for 
Windows Vista. (Unlike the C:\Documents and Settings directory, which 
Microsoft was not afraid to change to C:\Users on Vista). Given this 
evidence, we decided that C:\Program Files\GeoEco was a good choice.

All of that said, there should still be a copy of the toolbox in 
C:\Python24\Lib\site-packages\GeoEco\ArcGISToolbox for backwards 
compatibility. Do you not see one there? If there isn't one there, nor in 
C:\Program Files\GeoEco, then there must have been a problem with the 
installation. If so, let me know and we'll dig deeper into the problem.

Best,
Jason

-----Original Message-----
From: 

 
[mailto:]
 
Sent: Thursday, October 15, 2009 8:19 AM
To: 

Subject: [mget-help] Python 2.4 support?

Hello I´ve just downloaded the latest version of EcoGeo but I don´t see the
toolbox listed in the path C:\Python24\Lib\site-packages (as you instructed
another user in a previous post). Could this be the result of incompatibility
with newer versions of Python?

Best,
Bruce

Archives powered by MHonArc.
Top of Page