ImportError: DLL load failed: The specified module could not be found
File "c:\GIS\94\template_launch.py", line 1, in <module>
import arcpy
File "C:\Program Files\ArcGIS\Desktop9.4\arcpy\arcpy\__init__.py", line 3, in <module>
from geoprocessing import gp
File "C:\Program Files\ArcGIS\Desktop9.4\arcpy\arcpy\geoprocessing\__init__.py", line 1, in <module>
from _base import *
File "C:\Program Files\ArcGIS\Desktop9.4\arcpy\arcpy\geoprocessing\_base.py", line 1, in <module>
import arcgisscripting
In the python window, the following completes:
>>> import arcpy
>>> from arcpy import env as ENV
>>> from arcpy import mapping as MAP
>>> ENV.workspace = r'C:\GIS\94\Templates'
>>> wrksp = ENV.workspace
>>> print wrksp
C:\GIS\94\Templates
>>>
In the python window in WING, the following completes.
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
Type "help", "copyright", "credits" or "license" for more information.
>>> import arcpy
>>> from arcpy import mapping as MAP
>>> from arcpy import env as ENV
>>> ENV.workspace = r'C:\GIS\94\Templates'
>>> wrksp = ENV.workspace
>>> print wrksp
C:\GIS\94\Templates
>>>
Another issue being encountered is the intellisense for wing vs either the python shell or python window
There needs to be consistent behavior between all of these windows for python.
In the ESRI Python window, when I type:
ENV. (workspace is listed)
In the python shell, when I type:
ENV. (workspace is listed)
In Wing IDE, when I type:
ENV. (no workspace is listed)