Skip to main content

I am looking for a help, How to import arcpy module in FME Server.

How we need to call arcpy module using python in FME Server, also what are the files folders need to upload in FME Server to run arcpy code.

Please can guide step by step instructions.

Thanks in Advance

Venu

Hi @venu,

To use ArcPy or any other ESRI formats and functionality with FME Server you will need to have ESRI software installed on the same machine, please see this article for more information: https://knowledge.safe.com/articles/24153/using-fme-server-with-esri-software.html

You can find additonal information on how to change the python interpreter and upload python modules here: https://docs.safe.com/fme/html/FME_Server_Documentation/Content/AdminGuide/Using-Python-with-FME_Server.htm


Hi @venu,

To use ArcPy or any other ESRI formats and functionality with FME Server you will need to have ESRI software installed on the same machine, please see this article for more information: https://knowledge.safe.com/articles/24153/using-fme-server-with-esri-software.html

You can find additonal information on how to change the python interpreter and upload python modules here: https://docs.safe.com/fme/html/FME_Server_Documentation/Content/AdminGuide/Using-Python-with-FME_Server.htm

Hi @hollya tsafe,Thanks for the quick reply.

 

 

I installed required ESRI Software in same machine

 

(ArcGIS Desktop 10.6,FME 2018.0.1.1 Build 18312 - 32 bit, FME Server 2018.0.1.1 Build 18312 - 32 bit)

 

 

I understood that Arcpy is Additional Python module for FME Server

 

To access Arcpy module I need to follow two steps

 

 

1. Obtaining the Python Module2. Uploading the Python Module

 

 

I am a beginner for Python, so I am not able understand Obtaining the Python module.

 

 

My doubt is which package I need to download for Arcpy and run in command prompt or where its available those files in my machine if I installed everything correct.

 

 

Uploading the Python Module for Arcpy which files i need to upload into FME Server "Engine\\Plugins\\python".

 

 

Kindly help me to run Arcpy in FME Server.

 

Thanks in Advance

 

Venu

 

 


Hi @hollya tsafe,Thanks for the quick reply.

 

 

I installed required ESRI Software in same machine

 

(ArcGIS Desktop 10.6,FME 2018.0.1.1 Build 18312 - 32 bit, FME Server 2018.0.1.1 Build 18312 - 32 bit)

 

 

I understood that Arcpy is Additional Python module for FME Server

 

To access Arcpy module I need to follow two steps

 

 

1. Obtaining the Python Module2. Uploading the Python Module

 

 

I am a beginner for Python, so I am not able understand Obtaining the Python module.

 

 

My doubt is which package I need to download for Arcpy and run in command prompt or where its available those files in my machine if I installed everything correct.

 

 

Uploading the Python Module for Arcpy which files i need to upload into FME Server "Engine\\Plugins\\python".

 

 

Kindly help me to run Arcpy in FME Server.

 

Thanks in Advance

 

Venu

 

 

Hi @venu,

 

I believe the ArcPy module is slightly different in the fact that you cannot use pip to install it so the steps outlined in the help doc under 'Obtaining/Uploading the python module' are not relevant here.

 

 

Instead for any workspace that needs to use ArcPy, as long as you have a licensed install of ArcGIS on the same machine as your FME Server, just set the Python Compatibility parameter in FME Workbench to the same one used by the ESRI client before it is published to FME Server.

 


Reply