You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

ArcGIS Linux runs arcpy using wine. Python is a simple wrapper in bash.

Step-by-step guide

  1. /arcgis/server/tools/python

    >>import arcpy, os
    >> sdList = os.listdir('c:/')
    >> print sdList
    ['Program Files', 'Program Files (x86)', 'ProgramData', 'Python27', 'users', 'windows



Python3

  1. wine ./server/framework/runtime/ArcGIS/bin/Python/envs/arcgispro-py3/python.exe
  2. wine ./server/framework/runtime/ArcGIS/bin/Python/Scripts/conda.exe
ArcGIS Python doesn't include GDAL.

References

  1. https://enterprise.arcgis.com/en/server/10.3/publish-services/linux/deploying-custom-python-packages.htm

  • No labels