Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
From: | "Jason Roberts" <> |
---|---|
To: | "'M. Barmawi'" <> |
Cc: | <> |
Subject: | RE: [mget-help] Help: No module named _GeoEcoArcGISHelper |
Date: | Thu, 26 Jul 2012 17:00:37 -0700 |
Dear Mr. Barmawi, We’re sorry about this problem. I can help you fix it. This problem is confusing because it seems to indicate that MGET is only partially installed. MGET consists essentially of two parts: 1. An ArcGIS toolbox file (.tbx) with accompanying Python scripts, installed to C:\Program Files\GeoEco. These scripts are all very short—only about five lines each. Their job is to simply load and execute the second part of mget: 2. A Python package installed to C:\Python26\ArcGIS10.0\Lib\site-packages\GeoEco. The error message indicates that ArcGIS successfully accessed part 1 of MGET: it successfully opened the .tbx file and executed the very short Python script. But the very short Python script failed. The first thing those scripts do is load the _GeoEcoArcGISHelper module from the Python directory C:\Python26\ArcGIS10.0\Lib\site-packages. Because that module is not there, it suggests that MGET is somehow not properly installed there. I can think of several ways that can happen: 1. MGET was installed, then uninstalled, but the uninstallation did not complete all the way. The first part of MGET was left alone while the second part was uninstalled. Then you tried to use MGET and it didn’t work. The solution in this case is simply to install MGET again. 2. The machine originally had ArcGIS 9.3 on it, was then upgraded to 10.0, but somehow the installation did not instruct Windows to start using Python 2.6 as the default Python interpreter instead of Python 2.5 (which came with ArcGIS 9.3). This would mean that when ArcGIS executed Python scripts, it was actually Python 2.5 being executed, and MGET was not there for Python 2.5. This is pretty unlikely, but possible. The solution is to fix the Windows file association table to use Python 2.6 as the default interpreter (I can help with that, if you suspect this problem). There might be more possibilities. Can you try uninstalling MGET and reinstalling it and see if that fixes the problem? Best regards, Jason From: M. Barmawi [mailto:] Dear Sir, I’ve experienced the problems like in this conversation found in the internet. I would like to know the solution. I am using Arcgis 10 and MGET-0.8a42.win32-py2.6 Could you please help me? Thank you very much. M. Barmawi Balai Pengelolaan Sumberdaya Pesisir dan Laut (BPSPL) – Denpasar Direktorat Jenderal Kelautan, Pesisir dan Pulau-Pulau Kecil Kementerian Kelautan dan Perikanan Jl. Bypass Ida Bagus Mantra 101 KM 10, Gianyar Bali 80581 Indonesia Tel./Fax. +62-361-9177858
|