Preguntas frecuentes

¿Es posible utilizar la biblioteca ArcPy en un sistema operativo Linux?

Last Published: December 4, 2023

Respuesta

Yes, it is possible to use the ArcPy library on a Linux operating system, given that either ArcGIS for Server or ArcGIS Engine are installed. This automatically installs the ArcPy site package.

However, the ArcPy library is not available as a stand-alone Python installation in Linux prior to 10.5, because ArcPy requires that the binaries are installed together with either ArcGIS Engine or ArcGIS Server. Python scripts executed in a Linux shell prior to 10.5 need to be invoked against the Python 2.7 runtime that is shipped with ArcGIS Server.

Beginning at 10.5, select tools can now be executed with a Python 3.5 runtime that is installed independently of ArcGIS Server. This allows a more native Linux experience when writing Python scripts, including the use of third-party modules and native Linux paths. For details, see the Python 3 runtime for ArcGIS Serveron Linux.

Note:
 Since ArcGIS for Desktop is not supported on a Linux operating system, a script written in ArcGIS for Desktop may not work. 
Warning:
Do not modify or upgrade the Python version installed with Esri products. 

Id. de artículo:000012501

Recibir notificaciones y encontrar soluciones a problemas nuevos o comunes

Obtenga respuestas resumidas y soluciones de vídeo de nuestro nuevo chatbot de IA.

Descargar la aplicación de soporte de Esri

Información relacionada

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga