Skip to main content

Hi,

I wounder how I could manage to install the Rhino module for python (external package)? I have tried to look up info from:

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Desktop/Workbench/Installing-Python-Packages.htm

and:

https://community.safe.com/s/question/0D54Q000080haVOSAY/how-to-install-external-python-packages.

 

What I seem to manage to do is to install the module with the following command:

fme.exe python -m pip install rhino --target C:\\Users\\*\\*\\Documents\\FME\\Plugins\\Python\\python37

 

The module seem to be installed at the directory, but when I try to import it (import Rhino) using python caller I get the error msg:

|Python Exception <ModuleNotFoundError>: No module named 'Rhino'.

The Rhino module is a non-universal package and I have tried to verify python interpreter to both 3.7+ and 3.9+ when running pyhton caller. I am using FME v2022.1.2.0 64-bit.

 

When I used to command line it prints;

"INFORM: Using python interpreter **\\python39.dll".

"INFORM: Python version 3.9 loaded successfully".

Successfully installed rhino-0.0.5.

 

If I should download and use a seperate Pyhton interpreter, what interpreter version would you suggest?

 

Thanks alot!

 

 

 

Unless I've found the wrong Rhino package, the project hasn't been maintained since 2015: https://github.com/trendels/rhino

Rhino seems to require httplib, which was renamed to http.client in Python 3, and based on this I suspect that Rhino isn't compatible with Python 3.

 


Unless I've found the wrong Rhino package, the project hasn't been maintained since 2015: https://github.com/trendels/rhino

Rhino seems to require httplib, which was renamed to http.client in Python 3, and based on this I suspect that Rhino isn't compatible with Python 3.

 

Hi @david_r​ ,

Thanks for quick reply! Ah that might then be the issue. Thanks.


Hi @david_r​ ,

Thanks for quick reply! Ah that might then be the issue. Thanks.

Hi @david_r​ ,

Do you know if the module rhino3dm module is working with a calling function in Pyhton 3 with FME?

 

 


Hi @david_r​ ,

Thanks for quick reply! Ah that might then be the issue. Thanks.

Sorry, I do not have any experience with this package. But at least the github looks active, which is always a very good sign.


Hi @david_r​ ,

Thanks for quick reply! Ah that might then be the issue. Thanks.

Thanks anyways for helping out clarifying things.


Reply