Skip to main content
Question

Running PYPI project in Desktop


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

2 replies

david_r
Celebrity
  • 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
  • December 2, 2019
david_r wrote:

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?


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