Skip to main content


Hello there,

 

I’m currently working on a workflow for which I need a python package that is not preinstalled with FME.

I tried installing the package according to this help page:

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Form/Workbench/Installing-Python-Packages.htm

 

Unfortunately I got a dependency collision with other packages that are already installed.
So I tried setting up a virtual environment but FME doesn't seem to support custom venvs.

https://community.safe.com/transformers-9/how-to-integrate-a-custom-python-environment-27779

 

My question is:
Without uninstalling or up-/downgrading the already installed python packages,
what is the official way to avoid such dependency issues?

 

Many thanks in advance.

You can point FME to use a different Python Installation, documentation on how to do that is here: https://support.safe.com/hc/en-us/articles/25407517871629-Choosing-a-different-Python-Interpreter-in-FME-installation


Thank you for your quick response. What I was tripping over was that I need an “embedded” Python installation (https://www.python.org/downloads/windows/).

I tried setting up my virtual environment with the included venv module of Python, but this doesn’t include the necessary dll that has to be selected in the FME settings.

Probably obvious for most people but maybe this could be added to documentation for the remaining 5% like me. 


  

@LizAtSafe Is the documentation part something you can consider?

There is this Idea to introduce support for venvs here: