Skip to main content
Solved

Set Python interpreter for a workspace


Forum|alt.badge.img

Hello, I have the following question: I would like to automate a process that involves running an ArcGIS Python script and then 5 FME workspaces. I thought about doing this with 6 workspaces, which I call using the WorkspaceRunner. For this to work, I would have to use the ArcGIS Python interpreter for the first workspace and after that the FME Python interpreter. Is it possible to set this as an option in each Workspace? I know it is possible to change the standard Python interpreter in the FME Options, but is it also possible to define it separately in different FMW files?

Thanks a lot for your help in advance!

Best answer by chrisatsafe

Hi @tomrosmann,

Absolutely, you can set the Python Compatibility for each workspace independently in the Navigator pane under Workspace Parameters > Scripting > Python Compatibility.

Setting the Python Interpreter in FME Options will dictate the default setting of the Python Compatibility Scripting workspace parameter for new workspaces.

For more info, please see the Python Compatibility doc.

View original
Did this help you find an answer to your question?

2 replies

chrisatsafe
Contributor
Forum|alt.badge.img+2
  • Contributor
  • Best Answer
  • January 3, 2020

Hi @tomrosmann,

Absolutely, you can set the Python Compatibility for each workspace independently in the Navigator pane under Workspace Parameters > Scripting > Python Compatibility.

Setting the Python Interpreter in FME Options will dictate the default setting of the Python Compatibility Scripting workspace parameter for new workspaces.

For more info, please see the Python Compatibility doc.


Forum|alt.badge.img
  • Author
  • January 8, 2020

Thanks a lot for the answer! I did try this, but FME does not find the ArcGIS installation, although it does when it reads/writes to File Geodatabases... great to know that it is indeed this functionality!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings