donbrown44

linux - access ArcPy

Discussion created by donbrown44 on Apr 24, 2014
I have a Linux machine and we want to use arcpy. So, I installed ArcGIS Server 10.2 for Linux. However, I can't seem to use ESRI python install correctly.
The python install is at:
/home/agsadmin/arcgis/server/tools/python
I can run python in interactive mode from here, but I can't import arcpy.
I'm doing this as the user who installed ArcGIS Server.

I also can't run a stand-alone script by putting this in the first line:
#!/home/agsadmin/arcgis/server/tools/python
I don't get any errors, but the script doesn't do anything.

Any ideas on how I take advantage of arcpy on a Linux box. The only reason I installed ArcGIS Server is to use the arcpy libraries.
Thanks!

Outcomes