Skip to main content
Question

Installing Custom Python SDK to FME Flow.

  • December 20, 2024
  • 3 replies
  • 63 views

matthewb
Contributor
Forum|alt.badge.img+7

In order to pull data from one of our clients’ data repositories, we are using a custom Python SDK that they have provided.  Installation and testing went smoothly for use with FME Form, but no so well with FME Flow.  

 

For FME Form, I used fme.exe python -m pip install.  For FME Flow, I’ve tried navigating to Resouces>Engine>Plugins>Python>python311 and uploading the directories there, I’ve tried running fme.exe python -m pip install with the target directory set the FME Flow Resouces\Engine\Plugins\Python\python311.  

 

No matter what I do, my transformer fails with the following errors:

Python Exception <ModuleNotFoundError>: No module named xxxx

 

Any suggestions?

3 replies

dylan.at.safe
Safer
Forum|alt.badge.img+7

Hi ​@matthewb,

 

Is the customer's SDK providing a standalone Python interpreter, or is it designed to work with an existing interpreter by supplying only the required modules? 

For the custom SDK, did you modify the custom interpreter setting in FME Options? Additionally, did you use the --target flag in the form at any point?

 

To ensure we fully understand the custom SDK and resolve your issue efficiently, I recommend opening a support case with us.

 

-Dylan

 

!-->


matthewb
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • January 17, 2025

HI ​@dylan.at.safe 

 

Apologies for the delay in responding.  We resolved the issue and it was very straightforward.  The SDK was for python312 and we only had directories in the Engine\Python up to 311.  We added python312, installed the SDK, and everything worked flawlessley.


danilo_fme
Evangelist
Forum|alt.badge.img+43
  • Evangelist
  • January 18, 2025
matthewb wrote:

HI ​@dylan.at.safe 

 

Apologies for the delay in responding.  We resolved the issue and it was very straightforward.  The SDK was for python312 and we only had directories in the Engine\Python up to 311.  We added python312, installed the SDK, and everything worked flawlessley.

Awesome!


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