Question

Arcpy in FME Desktop

  • 28 September 2021
  • 1 reply
  • 17 views

Badge +6

hello, i would like to run several python scripts, using the arcpy library inside FME, what have i done so far? I just created published parameters and insert the values of the variables I need, but I'm not able to execute. See attached log. What do I need to set up correctly?


1 reply

Userlevel 3
Badge +17

Hi @mr_fme​ 

Have you checked out the article on using ArcPy with FME? Based on the logfile, it appears the default value (Python 3.8+) is set for the workspace parameter Python Compatibility. As noted in the article, you will need to set this parameter to the interpreter that is installed by ArcGIS.

In addition, the error in the log file is not an ImportError (as would be the case if arcpy cannot be found) but instead is a SyntaxError. You would need to correct the syntax error(s) before the script can run successfully.

Reply