Question

Running PYPI project in Desktop

  • 23 November 2019
  • 2 replies
  • 2 views

Badge

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

Userlevel 5

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

 

Badge

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?

Reply