Skip to main content

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?

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