Problem installing BlenderBIM (3.6.1) on MacBook Pro M2 (Ventura 13.5)

With a fresh installation of Blender and BlenderBIM, when attempting to activate the BlenderBIM add-on I get the following error:

Traceback (most recent call last):
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/__init__.py", line 61, in <module>
    from . import ifcopenshell_wrapper
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/ifcopenshell_wrapper.py", line 13, in <module>
    from . import _ifcopenshell_wrapper
ImportError: dlopen(/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/_ifcopenshell_wrapper.so, 0x0002): tried: '/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/_ifcopenshell_wrapper.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/_ifcopenshell_wrapper.so' (no such file), '/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/_ifcopenshell_wrapper.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/3.6/scripts/modules/addon_utils.py", line 333, in enable
    mod = __import__(module_name)
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/__init__.py", line 40, in <module>
    import blenderbim.bim
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/bim/__init__.py", line 22, in <module>
    from . import handler, ui, prop, operator, helper
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/bim/handler.py", line 22, in <module>
    import ifcopenshell.api.owner.settings
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/__init__.py", line 69, in <module>
    raise ImportError("IfcOpenShell not built for '%s'" % python_distribution)
ImportError: IfcOpenShell not built for 'darwin/64bit/python3.10'

Traceback (most recent call last):
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/__init__.py", line 61, in <module>
    from . import ifcopenshell_wrapper
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/ifcopenshell_wrapper.py", line 13, in <module>
    from . import _ifcopenshell_wrapper
ImportError: dlopen(/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/_ifcopenshell_wrapper.so, 0x0002): tried: '/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/_ifcopenshell_wrapper.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/_ifcopenshell_wrapper.so' (no such file), '/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/_ifcopenshell_wrapper.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/3.6/scripts/modules/addon_utils.py", line 333, in enable
    mod = __import__(module_name)
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/__init__.py", line 40, in <module>
    import blenderbim.bim
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/bim/__init__.py", line 22, in <module>
    from . import handler, ui, prop, operator, helper
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/bim/handler.py", line 22, in <module>
    import ifcopenshell.api.owner.settings
  File "/Users/roy/Library/Application Support/Blender/3.6/scripts/addons/blenderbim/libs/site/packages/ifcopenshell/__init__.py", line 69, in <module>
    raise ImportError("IfcOpenShell not built for '%s'" % python_distribution)
ImportError: IfcOpenShell not built for 'darwin/64bit/python3.10'

Any help resolving this would be greatly appreciated.

Comments

  • edited August 2023

    Update: There is a masos arm build, see comment from Moult below

    Old Post:
    I see only a blenderbim mac arm build for python 3.9, so i think you need to install a blender arm build version that has python 3.9 or you can just install the newstest blender intel build with the blenderbim macos build that has 3.10, since apple has the translation layer rosetta
    https://support.apple.com/en-us/HT211861

  • We do support MacOS ARM, are you sure you downloaded blenderbim-230811-py310-macosm1.zip?

  • Oh i did not see it in the list ?

  • @Martin156131 and @Moult, thank you for the feedback. This was indeed an error on my part; I did not download the ARM build (labeled "M1" on the downloads page). After downloading the correct build, I was able to activate it. Thank you for the guidance.

Sign In or Register to comment.