Skip to main content
Question

Python executable and site-package folder in various versions (e.g. 2022.2.6) ?


lifalin2016
Contributor
Forum|alt.badge.img+29

Hi.

Is there an authoritative list somewhere of which versions of FME uses which versions of Python ?

So far I have: 2020=3.7, 2021=3.8, 2022=3.9+3.10, 2023=3.11, 2024=3.12

I’m assuming that the Python executable is located in [FME_ROOT]\fmepython###\python3.exe (or the dll’s). Is this correct ?

And where is this executable’s site-packages folder located ?

Is it at [FME_ROOT]\python ? Or [FME_ROOT]\python\python312 ? Or somewhere entirely different ?

And is this location the same in an FME Engine for Server/Flow ?

I’m contemplating adding a special Python package for use in both desktop and server.

Cheers.

2 replies

lifalin2016
Contributor
Forum|alt.badge.img+29
  • Author
  • Contributor
  • October 4, 2024

It seems that [FME ROOT]\python\python### is the folder to place your custom modules into. Not in a site-packages subfolder, but directly in the folder itself.

And FME Server/Flow engines behave the same way.

I’m closing this topic.


luke.hicks
Safer
Forum|alt.badge.img+8
  • Safer
  • October 7, 2024

Hi @lifalin2016 ,

 

You can find which versions of Python are included with each build of FME Form and FME Flow by checking our Build Numbers for FME Versions page. 

Your executable’s site-packages folder will be located at “<FMEInstallDir>\python\python<version>”. On FME Server, you can upload your files from the aforementioned directory to Resources>Engine>Plugins>Python>python<version>. You can find out more about Using Python with FME Flow here.

 

Cheers,

  • Luke H.

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