BlendLuxCore icon indicating copy to clipboard operation
BlendLuxCore copied to clipboard

Can't install on 3.0.1 on linux.

Open asluizh opened this issue 3 years ago • 6 comments

Was able to install on 3.0.0 After updating blender and upon opening the program, luxcore addon was disabled. Trying to re-enable it produced an error. Removing it and installing it again gave the same error.

Error message from Blender console:

Traceback (most recent call last):
  File "/usr/share/blender/3.0/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/user/.config/blender/3.0/scripts/addons/BlendLuxCore/__init__.py", line 66, in <module>
    raise Exception(msg + "\n\nImportError: %s" % error) from None
Exception: 

Could not import pyluxcore.

ImportError: /home/user/.config/blender/3.0/scripts/addons/BlendLuxCore/bin/pyluxcore.so: undefined symbol: _PyTraceMalloc_NewReference

OS: Manjaro Linux Blender version: 3.0.1 LuxCore version: Latest build (d435660, 8 jan 2022)

asluizh avatar Feb 24 '22 22:02 asluizh

Hmm... I can activate it in (Linux) Blender 3.0.1 and it works (except for the bug I already reported https://github.com/LuxCoreRender/BlendLuxCore/issues/745 ).

But I get a similar error message as you got when I try to activate it in Blender 3.1.0.

SteffenDuenner avatar Mar 10 '22 14:03 SteffenDuenner

Same here, with Blender 3.1.0, My os is: Debian 11

edin45 avatar Mar 11 '22 11:03 edin45

Blender 3.1 uses Python 3.10 dependencies. The latest version of LuxCore uses 3.9 to be compatible with Blender 3.0. LuxCore has to be built with the same Python version as Blender.

neo2068 avatar Mar 11 '22 15:03 neo2068

The latest version should work with Blender 3.1 now. Link Please check and comment if it works for you.

neo2068 avatar Mar 14 '22 20:03 neo2068

The Python updates that were committed are Windows-only sadly. So no change for Linux users yet.

SteffenDuenner avatar Mar 15 '22 09:03 SteffenDuenner

Indeed, the error persists on 3.1 with the latest build (march 14) on linux.

Traceback (most recent call last):
  File "/usr/share/blender/3.1/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/user/.config/blender/3.1/scripts/addons/BlendLuxCore/__init__.py", line 66, in <module>
    raise Exception(msg + "\n\nImportError: %s" % error) from None
Exception: 

Could not import pyluxcore.

ImportError: /home/user/.config/blender/3.1/scripts/addons/BlendLuxCore/bin/pyluxcore.so: undefined symbol: _PyTraceMalloc_NewReference

asluizh avatar Mar 20 '22 13:03 asluizh