BlendLuxCore icon indicating copy to clipboard operation
BlendLuxCore copied to clipboard

Could not import pyluxcore

Open tinashekupfuwa opened this issue 1 year ago • 11 comments

I'm a Mac user, currently using an m2 max, I've been a fan of LuxCore and I just tried adding it to my blender and Im not sure what it has been giving me a hard time.If there's a solution to my issue, please help me.

Traceback (most recent call last): File "/Applications/Blender.app/Contents/Resources/3.5/scripts/modules/addon_utils.py", line 333, in enable mod = import(module_name) File "/Users/tinashekupfuwa/Library/Application Support/Blender/3.5/scripts/addons/BlendLuxCore/init.py", line 66, in raise Exception(msg + "\n\nImportError: %s" % error) from None Exception:

Could not import pyluxcore.

ImportError: dlopen(/Users/tinashekupfuwa/Library/Application Support/Blender/3.5/scripts/addons/BlendLuxCore/bin/pyluxcore.so, 0x0002): tried: '/Users/tinashekupfuwa/Library/Application Support/Blender/3.5/scripts/addons/BlendLuxCore/bin/pyluxcore.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/tinashekupfuwa/Library/Application Support/Blender/3.5/scripts/addons/BlendLuxCore/bin/pyluxcore.so' (no such file), '/Users/tinashekupfuwa/Library/Application Support/Blender/3.5/scripts/addons/BlendLuxCore/bin/pyluxcore.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

tinashekupfuwa avatar Jun 02 '23 23:06 tinashekupfuwa

Hi! Which version of Blendluxcore did you try? This one is for Blender 3.5 and macOS. Link

neo2068 avatar Jun 03 '23 10:06 neo2068

Hello @neo2068 i have same issue tried both 3.5 and 2.93LTS versions same error

Ramirikka avatar Jun 03 '23 13:06 Ramirikka

Screenshot 2023-06-03 at 4 27 19 PM

Ramirikka avatar Jun 03 '23 13:06 Ramirikka

Totally failed.

Traceback (most recent call last): File "/Applications/Blender.app/Contents/Resources/3.5/scripts/modules/addon_utils.py", line 333, in enable mod = import(module_name) File "/Users/tinashekupfuwa/Library/Application Support/Blender/3.5/scripts/addons/BlendLuxCore/init.py", line 66, in raise Exception(msg + "\n\nImportError: %s" % error) from None Exception:

Could not import pyluxcore.

ImportError: dlopen(/Users/tinashekupfuwa/Library/Application Support/Blender/3.5/scripts/addons/BlendLuxCore/bin/pyluxcore.so, 0x0002): tried: '/Users/tinashekupfuwa/Library/Application Support/Blender/3.5/scripts/addons/BlendLuxCore/bin/pyluxcore.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/tinashekupfuwa/Library/Application Support/Blender/3.5/scripts/addons/BlendLuxCore/bin/pyluxcore.so' (no such file), '/Users/tinashekupfuwa/Library/Application Support/Blender/3.5/scripts/addons/BlendLuxCore/bin/pyluxcore.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

tinashekupfuwa avatar Jun 03 '23 13:06 tinashekupfuwa

on intel version MacBook Pro,theres no error at all, meaning this problem is being faced by everyone using apple silicon MacBook.

tinashekupfuwa avatar Jun 03 '23 13:06 tinashekupfuwa

Did anyone find a workaround?

Ramirikka avatar Jun 04 '23 11:06 Ramirikka

not yet,I hope the guys working on Luxcore render will hear our cry.

tinashekupfuwa avatar Jun 05 '23 08:06 tinashekupfuwa

Is there any progress towards working on this ?

tinashekupfuwa avatar Jun 07 '23 13:06 tinashekupfuwa

Hi! As far as I know, nobody is actively working on this. There have been some activities from the mac os maintainer back in 2021 but no news since then.

neo2068 avatar Jun 15 '23 15:06 neo2068

Its a shame, I wish they can continue working with this.This renderer would shine well with Apple Silicon.

tinashekupfuwa avatar Jun 16 '23 04:06 tinashekupfuwa

Same issue with my Silicon :(

Perrishnikov avatar Jul 07 '23 01:07 Perrishnikov