Hi,
I am on Debian sid  and Blender 4.2.1 with latest updates. I installed
Bonsai (BlenderBIM) extension:
https://docs.bonsaibim.org/quickstart/installation.html

When I enable it and restart Blender, I get this error in Blender:

os: Linux
os_version: #1 SMP PREEMPT_DYNAMIC Debian 6.10.7-1 (2024-08-31)
python_version: 3.12.6
architecture: ('64bit', 'ELF')
machine: x86_64
processor:
blender_version: 4.2.1 LTS
bonsai_version: 0.8.1-alpha240912
bonsai_commit_hash: 35a4d87
last_actions:
last_error: Traceback (most recent call last):
  File
"/home/farid/.config/blender/4.2/extensions/.local/lib/python3.12/site-packages/ifcopenshell/__init__.py",
line 81, in <module>
    from . import ifcopenshell_wrapper
  File
"/home/farid/.config/blender/4.2/extensions/.local/lib/python3.12/site-packages/ifcopenshell/ifcopenshell_wrapper.py",
line 13, in <module>
    from . import _ifcopenshell_wrapper
ImportError: cannot import name '_ifcopenshell_wrapper' from partially
initialized module 'ifcopenshell' (most likely due to a circular import)
(/home/farid/.config/blender/4.2/extensions/.local/lib/python3.12/site-packages/ifcopenshell/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File
"/home/farid/.config/blender/4.2/extensions/raw_githubusercontent_com/bonsai/__init__.py",
line 225, in <module>
    import ifcopenshell.api
  File
"/home/farid/.config/blender/4.2/extensions/.local/lib/python3.12/site-packages/ifcopenshell/__init__.py",
line 83, in <module>
    raise ImportError("IfcOpenShell not built for '%s'" %
python_distribution)
ImportError: IfcOpenShell not built for 'linux/64bit/python3.12'

binary_file_name: _ifcopenshell_wrapper.cpython-311-x86_64-linux-gnu.so
binary_python_version: 3.11

I also downloaded the official binaries from the Blender website (v 4.2.1)
and it pleasantly works fine with this extension.

thanks

Reply via email to