BlendLuxCore icon indicating copy to clipboard operation
BlendLuxCore copied to clipboard

Luxcore add-on in blender not working - M1 macbook pro

Open agtmn opened this issue 2 years ago • 15 comments

Hi everyone, I get an error when i want to enable the the add-on for luxcore in Blender. it says "could not import pyluxcore". Can anybody help me? Does this have to do something with the M1 core? 35BC9B28-243D-4C5F-A5BD-5A37C09BC341

agtmn avatar Jun 06 '22 14:06 agtmn

Hi everyone, I get an error when i want to enable the the add-on for luxcore in Blender. it says "could not import pyluxcore". Can anybody help me? Does this have to do something with the M1 core? 35BC9B28-243D-4C5F-A5BD-5A37C09BC341

Hi. I'm not a MacOS user but maybe this build may have help you? https://github.com/LuxCoreRender/BlendLuxCore/releases/download/latest/BlendLuxCore-latest-mac64.zip

Note that, try always extract build to ÿour_blender_version/3.x/scripts/addons" not "Install from ZIP file".

odil24 avatar Jun 06 '22 17:06 odil24

I have the same issue, and even when I manually place the unzipped folder into Blender>Contents>Resources>3.2>scripts>addons it gives the same error. The only difference is now there is no 'Remove' button to remove the addon.

JoelGodin avatar Jun 26 '22 17:06 JoelGodin

I also try Blender 3.3 build from today, and same error.

JoelGodin avatar Jun 26 '22 17:06 JoelGodin

Same problem here

lcombaldieu avatar Oct 28 '22 15:10 lcombaldieu

11 same problem again apple m1 max macOS ventura 13.0

tolozine avatar Nov 20 '22 15:11 tolozine

I have the same problem

a-aladawy avatar Dec 01 '22 18:12 a-aladawy

Any solution to this?

divan avatar Jan 21 '23 21:01 divan

Any solution to this?

Hi. Are you tried this? https://github.com/LuxCoreRender/BlendLuxCore/releases/download/latest/BlendLuxCore-latest-mac64.zip

odil24 avatar Jan 22 '23 00:01 odil24

Any solution to this?

Hi. Are you tried this? https://github.com/LuxCoreRender/BlendLuxCore/releases/download/latest/BlendLuxCore-latest-mac64.zip

The issue still exists. I think it's an arm64 support issue.

/BlendLuxCore/bin/pyluxcore.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Screenshot 2023-01-22 at 10 20 40 AM

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

Could not import pyluxcore.

ImportError: dlopen(/Users/aladawy/Library/Application Support/Blender/3.4/scripts/addons/BlendLuxCore/bin/pyluxcore.so, 0x0002): tried: '/Users/aladawy/Library/Application Support/Blender/3.4/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/aladawy/Library/Application Support/Blender/3.4/scripts/addons/BlendLuxCore/bin/pyluxcore.so' (no such file), '/Users/aladawy/Library/Application Support/Blender/3.4/scripts/addons/BlendLuxCore/bin/pyluxcore.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

a-aladawy avatar Jan 22 '23 08:01 a-aladawy

Any update / tips on this? much appreciated!

polyartin avatar Feb 25 '23 15:02 polyartin

was anyone able to fix this ?

tinashekupfuwa avatar Jun 02 '23 22:06 tinashekupfuwa

issue still exists, working with MacBook Air M1 and Blender 3.5.1

alexandersiemert avatar Jun 14 '23 19:06 alexandersiemert

Isn't it because the issue in LuxCore repo about porting to Apple Silicon is still open? LuxCoreRender/LuxCore#484 Correct me if I'm wrong, but I believe this is a duplicate. Although the original issue does not contain such detailed information as logs with pyluxcore import errors.

rmnilin avatar Jun 24 '23 12:06 rmnilin

I can confirm Luxcorerender v2.6 works with Blender Intel build 2.93.18 LTS with CPU for Film device in settings, on M1 mac.

JoelGodin avatar Jun 25 '23 15:06 JoelGodin