Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5871

Installing Python Extensions

$
0
0

@loyer3d wrote:

Hi!

I'm having trouble installing a python extension. I've tried PIP installing to both the following directories and they install correctly, the files are there, but Rhino's Python does not want to import the library:

pip install --target=/Applications/RhinoWIP.app/Contents/Resources/ManagedPlugIns/RhinoDLR_Python.rhp/Lib/site-packages simplecoremidi

pip install --target=/Applications/RhinoWIP.app/Contents/Resources/ManagedPlugIns/RhinoDLR_Python.rhp/Lib simplecoremidi

Rhino gives me the following error:

Message: cannot import _simplecoremidi from simplecoremidi

Traceback:
line 1, in , "/Applications/RhinoWIP.app/Contents/Resources/ManagedPlugIns/RhinoDLR_Python.rhp/Lib/simplecoremidi/core.py"
line 1, in , "/Applications/RhinoWIP.app/Contents/Resources/ManagedPlugIns/RhinoDLR_Python.rhp/Lib/simplecoremidi/__init__.py"
line 1, in , "/Users/Alex/Downloads/MIDI Research/test.py"

Any help would be greatly appreciated.

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5871

Trending Articles