Skip to main content
Question

Custom Python Interpreter - FME 2019 / MacOS

  • April 29, 2019
  • 2 replies
  • 10 views

Hi,

I'm needing to use a custom python interpreter in 2019 on MacOS in order to use the pandas library.

The option to use Custom Interpreters appears to be missing in 2019.0.0.1 - Build 19246.

Is this normal behaviour i.e. has this functionality been removed?

 

Thanks,

Campbell.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

debbiatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • 648 replies
  • April 29, 2019

Hi @campbellfleury

This is expected behaviour. The Custom Python Interpreter option was removed in FME 2019 for macOS and Linux platforms.


Forum|alt.badge.img
  • 2 replies
  • June 17, 2019

@campbellfleury

After realising FME 2019 for MacOS has no option for choosing a custom python interpreter, I had to do the following to avoid maintaining two sets of site-packages:

- Download and install Python 3.7 from the web (comes with pip3)

- Manage packages via pip3 (eg pip3 install *packagename*)

- Get rid of FME’s site-packages directory (or rename it)

mv /users/*USERNAME*/.local/lib/python3.7/site-packages site-packages_fmeorig

- In it’s place, create a symbolic link to the external Python 3.7’s directory:

sudo ln -s /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ /users/*USERNAME*/.local/lib/python3.7/

- Done! Now your python packages installed via pip3 should be available both in IDLE and FME.