Skip to main content
Question

Running PYPI project in Desktop

  • November 23, 2019
  • 2 replies
  • 10 views

gcarmich
Participant
Forum|alt.badge.img+1

I've been trying to figure out how to include an external application in my FME Desktop transform. Recently I discovered that my target application exists in the PYPI repository and I believe that these projects can be run in FME.

From what I have read, it looks like I can implement this application in FME using Python Creator/PythonModuleInstaller/ PythonCaller.

How do I setup and use a transform based on a PYPI project?

My experience with FME is limited.

https://pypi.org/project/sutime/

Thanks,

Gilbert

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

david_r
Celebrity
  • 8394 replies
  • November 25, 2019

The simplest solution is to install a regular Python distribution (e.g. python.org) in a separate directory, then install the necessary modules using pip.

You can then point FME to that installation and it will use the interpreter for everything Python inside your workspace, including the PythonCaller.

See: https://knowledge.safe.com/articles/814/choosing-a-different-python-interpreter-installati.html

 


gcarmich
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • 35 replies
  • December 2, 2019

The simplest solution is to install a regular Python distribution (e.g. python.org) in a separate directory, then install the necessary modules using pip.

You can then point FME to that installation and it will use the interpreter for everything Python inside your workspace, including the PythonCaller.

See: https://knowledge.safe.com/articles/814/choosing-a-different-python-interpreter-installati.html

 

I don't have much experience with Python. I installed the latest version (3.8.0 64bit) but when I try to PIP the PYPI application I get an error. Seems like the error is when the application tries to build the "wheel". - "ERROR: Failed building wheel for JPype1". Can I install the SUTIME application from PYPI without pip?