ArcGIS Linux runs arcpy using wine. Python is a simple wrapper in bash.
Step-by-step guide
/arcgis/server/tools/python
Code Block |
---|
>>import arcpy, os
>> sdList = os.listdir('c:/')
>> print sdList
['Program Files', 'Program Files (x86)', 'ProgramData', 'Python27', 'users', 'windows |
Python3
- wine ./server/framework/runtime/ArcGIS/bin/Python/envs/arcgispro-py3/python.exe
- wine ./server/framework/runtime/ArcGIS/bin/Python/Scripts/conda.exe
Info |
---|
ArcGIS Python doesn't include GDAL. |
References
- https://enterprise.arcgis.com/en/server/10.3/publish-services/linux/deploying-custom-python-packages.htm
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | SDT |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "arcpy" and type = "page" and space = "SDT" |
---|
labels | arcpy |
---|
|