Skip to main content

Hi,

Could you please provide an official documentation on how to configure FME Form to access the latest Python version from Anaconda distribution as well as its machine learning libraries. Admittedly, there are topics already posted in the community related to the subject; however nothing seems to work for me.

BTW, I’m running FME(R) 2024.1.2.1 (20240906 - Build 24624 - WIN64) on Windows 11 Enterprise

Thanks in advance,

Willy de Vera

 

Hi @willydevera,

Use the Custom Python Interpreter setting in Workbench's Tools > FME Options > Translation > Python Interpreter. For the Preferred Python Interpreter, set the Anaconda environment's python3*.dll as the Preferred Python Interpreter and the parent directory of the .dll as the Python Home parameter.

You would also need to ensure the Python version of the Anaconda environment is supported by the FME version used.

What sort of error are you getting after configuring the above?


Hello @debbiatsafe ,

Thanks for your response.

That’s the current setting in my FME as you indicated but still running into issues.

It has no problem importing Python base libraries like os, re, sys, and collections; but then it spits out error when importing pandas and pdfplumber in my case.

Below is the error message:

Message Type: fme::internal::_v0:🇵🇾:Exception
Python Exception <ModuleNotFoundError>: No module named 'pandas'
 

Thanks!

 


Reply