Select to view content in your preferred language

Access arcpy on Linux AGS

538
0
04-24-2014 07:12 PM
DonaldBrown
Frequent Contributor
I have a Linux machine on an Amazon Web Services 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 (./fileName.py) a stand-alone script by putting this in the first line of the script:
#!/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!
0 Kudos
0 Replies