Fix ImportError: No Module Named Arcgisscripting in ArcGIS Desktop

arcgis-desktoparcpyeclipseimporterror

I am trying to run an ArcGIS python script from Eclipse and get the following message:

ImportError: No module named arcgisscripting

I can run this in IDLE… any ideas?

Best Answer

I received this error last week after I modified my PYTHONPATH environment variable and misspelled my path to arcgisscripting.pyd.

Correcting the PYTHONPATH to include 'c:\Program files\ArcGIS\Bin' (spelled correctly) fixed the problem.