scorpion81 / Blender-Molecular-Script

This is the molecular python script for blender, originally coded by Pyroevil. A bit similar to Lagoa Multiphysic in Softimage.
http://blenderartists.org/forum/showthread.php?233643-SCRIPT-Moleculars-physics
466 stars 46 forks source link

Import error on M1 #17

Open carterlasalle opened 2 years ago

carterlasalle commented 2 years ago
Screenshot 2022-09-01 at 2 19 53 PM Screenshot 2022-09-01 at 2 20 15 PM

I am on a m1 mac, and I have a problem when importing because it is requiring an architecture that I don't have. @scorpion81

Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/3.4/scripts/modules/addon_utils.py", line 369, in enable
    mod.register()
  File "/Users/Rocket1/Library/Application Support/Blender/3.4/scripts/addons/molecular/__init__.py", line 42, in register
    from . import properties, ui, operators
  File "/Users/Rocket1/Library/Application Support/Blender/3.4/scripts/addons/molecular/operators.py", line 7, in <module>
    from . import simulate, core
ImportError: dlopen(/Users/Rocket1/Library/Application Support/Blender/3.4/scripts/addons/molecular/core.cpython-310-darwin.so, 0x0002): tried: '/Users/Rocket1/Library/Application Support/Blender/3.4/scripts/addons/molecular/core.cpython-310-darwin.so' (fat file, but missing compatible architecture (have 'x86_64,arm64e', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/Rocket1/Library/Application Support/Blender/3.4/scripts/addons/molecular/core.cpython-310-darwin.so' (no such file), '/Users/Rocket1/Library/Application Support/Blender/3.4/scripts/addons/molecular/core.cpython-310-darwin.so' (fat file, but missing compatible architecture (have 'x86_64,arm64e', need 'arm64'))
scorpion81 commented 2 years ago

Hi, could you please test the latest release ? I included arm64 into the mac os fat binary there as well now.

carterlasalle commented 2 years ago

Hi, could you please test the latest release ? I included arm64 into the mac os fat binary there as well now.

Hey! I got it to work! Is there some type of tutorial?