我正试图解决这个问题。昨天我安装了PyScripter,从那以后,脚本就不起作用了。当我运行任何脚本(在PyScripter或IDLE中)并尝试“导入arcpy”时,会出现以下错误:import arcpy
Traceback (most recent call last):
File "", line 1, in
import arcpy
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\__init__.py", line 17, in
from geoprocessing import gp
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\geoprocessing\__init__.py", line 14, in
from _base import *
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\geoprocessing\_base.py", line 14, in
import arcgisscripting
File "C:\Python26\ArcGIS10.0\lib\arcgisscripting.py", line 81, in
from RuntimeError import RuntimeError
ImportError: No module named RuntimeError
有人建议怎么修吗?在
非常感谢大家!在