Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
From: | "Jason Roberts" <> |
---|---|
To: | "'Matthew Cameron'" <> |
Cc: | <> |
Subject: | RE: [mget-help] Having trouble with MGET GLM |
Date: | Wed, 27 Jul 2011 09:26:57 -0400 |
Hi Matthew, It sounds like there is a configuration problem with your machine. Although Python itself allows multiple versions to be installed simultaneously, ArcGIS 9.3 only works with Python 2.5. Therefore, in order for MGET to work with ArcGIS, you need the Python 2.5 version of MGET installed (i.e. GeoEco-0.8a27.win32-py2.5.exe). The error message that you’re seeing is related to the fact that ArcGIS is trying to run MGET using Python 2.5, but MGET is only installed for Python 2.6. I recommend: 1. Uninstall MGET for Python 2.6. You can uninstall it under Control Panel à Add/Remove Programs (on Windows XP) or Programs and Features (Windows Vista or 7). It is called Python 2.6 GeoEco-0.8a27. 2. Install MGET for Python 2.5. 3. Make sure the Windows file associations are configured to run Python 2.5 for Python files. The following instructions apply to Windows Vista or 7. If you have XP, let me know and I can give different instructions if you cannot figure it out. a. Control Panel à Programs à Make a file type always open in a specific program b. Scroll down until you find the name .py, description of “Python File”. Double click on that row. When the Open With dialog box comes up, click Browse. Go to C:\Python25 and select python.exe. Click Ok (maybe twice) until you get back to the list of file extensions. c. Repeat step b for the extensions .pyc and .pyo. d. Repeat step b for the extension .pyw, but this time select pythonw.exe instead of python.exe. You can also uninstall Python 2.6, if desired. But it is also ok to leave it there. Step 3 insures that Python 2.5 will be used by default, so Python 2.6 will only be used if something specifically requests that version. Let me know if this helps… Jason From: Matthew Cameron [mailto:] Hi there, Wondering if you could help? I’m having some trouble with the MGET GLM function. When I try to run it I get the follow error message: <type ‘exceptions.ImportError’>: No module named _GeoEcoArcGISHelper Failed to execute (GLMFitToArcGISTable) I have ArcGIS version 9.3, Python 2.5 and 2.6 and R installed on my machine. I installed the GeoEco-0.8a27.win32-py2.6.exe from your website. Am I missing anything to enable it to work properly? Any ideas?? Regards Matthew Cameron, BSc (Hons), MSc. PhD student researcher Marine Research Laboratory IMAS Phone: +61 3 6227 7244 Email: |