CentOS安装arcgis server10.3.1,使用ArcPy报错

[gis@cdgis tools]$ ./python 
Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import arcpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files\ArcGIS\Server\arcpy\arcpy\__init__.py", line 21, in <module>
    from arcpy.geoprocessing import gp
  File "C:\Program Files\ArcGIS\Server\arcpy\arcpy\geoprocessing\__init__.py", line 14, in <module>
    from _base import *
  File "C:\Program Files\ArcGIS\Server\arcpy\arcpy\geoprocessing\_base.py", line 14, in <module>
    import arcgisscripting
ImportError: DLL load failed: DLL init failed
>>> 
请问想使用arcgis server10.3.1中的arcpy,报如上错误,请问怎么处理呢?
已邀请:

张佳期

赞同来自:

参考这个试试。
https://gis.stackexchange.com/questions/31411/using-arcpy-from-the-command-line-on-arcgis-linux-server-10-1
 
使用arcgis账户在server/tools下执行.python命令
图4.png

 

要回复问题请先登录注册