Comments and answers for "How to runarcpy scripts" https://knowledge.亚搏在线safe.com/questions/81533/how-to-runarcpy-scripts.html The latest comments and answers for the question "How to runarcpy scripts" Comment by debbiatsafe on debbiatsafe's answer https://knowledge.safe.com/comments/81570/view.html

Hi@honkovam

How did you change the Python interpreter in your workspace?If you used the workspace'sPython Compatibilityparameter (eg.set to Esri ArcGIS Desktop Python 2.7), no further action should be required as changes to this parameter only applies to the current workspace.

Edit: This applies to FME 2017 and 2018 only

Wed, 31 Oct 2018 23:11:24 GMT debbiatsafe
Answer by honkovam https://knowledge.safe.com/answers/81543/view.html

Hi@oscard

Thanks a lot, I was able to make it work.Is there any way I can be switching to the custom interpreter with a script or some command before running the translation and then set it back to default after the translation?


Thanks,

Wed, 31 Oct 2018 17:24:47 GMT honkovam
Answer by oscard https://knowledge.safe.com/answers/81535/view.html

Take a look at this article:https://knowledge.safe.com/articles/47216/using-arcpy-for-fme-feature-processing.html


I guess you will need to change your Python interpreter to the one that has the arcpy module

Wed, 31 Oct 2018 16:44:51 GMT oscard