jesterKing / import_3dm

Blender importer script for Rhinoceros 3D files
MIT License
308 stars 38 forks source link

Blender 2.81 - Getting ModuleNotFoundError: No module named 'rhino3dm' on MacOS after doing special Mac install instructions #44

Closed kalmdown closed 5 years ago

kalmdown commented 5 years ago

Describe the bug Receive the following when trying to active "Import: Rhinoceros 3D" image

To Reproduce Steps to reproduce the behavior: 1) Did the special MacOS pip instructions.

osxkmochmbp15:~ kmochel$ cd /Applications/Blender.app/Contents/Resources/2.81/python
osxkmochmbp15:python kmochel$ ls ./bin
pip3        pip3.7      python3.7m

2) In BLender "Installed" the Add-on zip. 3) Tried to activate the add-on.

Expected behavior "Import: Rhinoceros 3D" would activate.

Desktop (please complete the following information): Blender - Version 2.81 (2.81 2019-10-16) MacOS - 10.14.6 (18G95)

Additional context

jesterKing commented 5 years ago

Assuming you're using the latest from master it should be installed automatically by the add-on. But there are still some issues that I need to figure out.

I'm taking this issue to fix

kalmdown commented 5 years ago

I tried installing Rhino3dm via pip off Terminal but it failed. Let me know if the errors would help.

I have Anaconda installed. Don't know if that is of interest.

On Wed, Oct 23, 2019 at 12:18 AM Nathan Letwory notifications@github.com wrote:

Assuming you're using the latest from master it should be installed automatically by the add-on. But there are still some issues that I need to figure out.

I'm taking this issue to fix

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jesterKing/import_3dm/issues/44?email_source=notifications&email_token=AARECHRHXYYGVESJOT42UBDQP73FPA5CNFSM4JDUVMH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECALJ6A#issuecomment-545305848, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARECHSM34GQCWGIXDKJLM3QP73FPANCNFSM4JDUVMHQ .

GGooeytoe commented 5 years ago

If you installed rhino3dm via pip3 install rhino3dm or some variation thereof, you installed rhino3dm for your system python.

Try cd /Applications/Blender.app/Contents/Resources/2.81/python & ./pip3 install rhino3dm

kalmdown commented 5 years ago

Had to go down into bin so "bin/pip3 install rhino3dm"

And now "Import Rhinoceros 3D" can be enabled.

patchworquill commented 9 months ago

Oneliner I used to solve this problem today: </Applications/Blender\ 3.6.app/Contents/Resources/3.6/python/bin/python3.10> -m pip install rhino3dm

Replace the <path/to/blender/python> with your own path.