Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac "etree" and "lmxl" issue #220

Open
ScratchGod opened this issue Sep 27, 2022 · 9 comments
Open

Mac "etree" and "lmxl" issue #220

ScratchGod opened this issue Sep 27, 2022 · 9 comments

Comments

@ScratchGod
Copy link

Screen Shot 2022-09-26 at 10 59 13 PM

I have tried almost every "solution" that I have found involving downloading lxml on the terminal and copying that file to the correct directory, to downloading someone else's lxml file and have yet to fix it. Please help

@JordnRiley
Copy link

JordnRiley commented Sep 29, 2022

Hello! I am also having the same issue. I've tried all the fixes involving the lxml file, and I still can't get it to work.

Blender 3.3 but I've tried every build from 3.0 on.

On Monterey 12.5.1 - Mac M1 Chip

Any help would be appreciated, really trying to use this wonderful addon!

@mobiusteapot
Copy link

Just wanted to mention I am also getting this error. Is there any build of Blender or the addon that are confirmed to work?

@JordnRiley
Copy link

Stlll having this issue. I'd really like to try this add-on. Please help.

@Jake1955
Copy link

Likewise

@Jake1955
Copy link

Blender 3.4.0 - Lily Surface Scrapper v1.8.1

@eliemichel
Copy link
Owner

eliemichel commented Jan 13, 2023

You can install lxml using the following command if the version I ship does not load for some reason:

/Applications/Blender.app/Content/Resources/3.4/python/bin/python -m pip install lxml -t /Applications/Blender.app/Content/Resources/3.4/scripts/modules

Please then share the content of /Applications/Blender.app/Content/Resources/3.4/scripts/modules/lxml with us so that I can include a more up to date version in the addon's release.

@Jake1955
Copy link

/Applications/Blender.app/Content/Resources/3.4/python/bin/python results in a no such file or directory error.

I only have 'python3.10' in the bin directory

@eliemichel
Copy link
Owner

Then do it with python3.10 instead of python, I don't have a mac so I can only guess the command lines

@Elisinac
Copy link

@eliemichel Hi Elie, i have the same problem. When I go to "terminal" and type the command you wrote, Terminal replies that "zsh: no such file or directory", which if I replace python with python3.10.
I show you the complete traceback of the error:

Traceback (most recent call last):
File "/Applications/Blender3.5.app/Contents/Resources/3.5/scripts/modules/addon_utils.py", line 333, in enable
mod = import(module_name)
File "/Users/xxxxx/Library/Application Support/Blender/3.5/scripts/addons/LilySurfaceScraper/init.py", line 31, in
from . import frontend
File "/Users/xxxxx/Library/Application Support/Blender/3.5/scripts/addons/LilySurfaceScraper/frontend.py", line 10, in
from .CyclesLightData import CyclesLightData
File "/Users/xxxxx/Library/Application Support/Blender/3.5/scripts/addons/LilySurfaceScraper/CyclesLightData.py", line 9, in
from .LightData import LightData
File "/Users/xxxxx/Library/Application Support/Blender/3.5/scripts/addons/LilySurfaceScraper/LightData.py", line 7, in
from .ScrapersManager import ScrapersManager
File "/Users/xxxxx/Library/Application Support/Blender/3.5/scripts/addons/LilySurfaceScraper/ScrapersManager.py", line 26, in
from .Scrapers.AbstractScraper import AbstractScraper
File "/Users/xxxxx/Library/Application Support/Blender/3.5/scripts/addons/LilySurfaceScraper/Scrapers/AbstractScraper.py", line 31, in
from lxml import etree
ImportError: dlopen(/Users/xxxxx/Library/Application Support/Blender/3.5/scripts/addons/LilySurfaceScraper/site-packages/arm/lxml/etree.cpython-310-darwin.so, 0x0002): tried: '/Users /xxxxx/Library/Application Support/Blender/3.5/scripts/addons/LilySurfaceScraper/site-packages/arm/lxml/etree.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have ' x86_64', need 'arm64')), '/System/Volumes/Preboot/Crypexes/OS/Users/xxxxx/Library/Application Support/Blender/3.5/scripts/addons/LilySurfaceScraper/site-packages/arm/lxml/etree .cpython-310-darwin.so' (no such file), '/Users/xxxxx/Library/Application Support/Blender/3.5/scripts/addons/LilySurfaceScraper/site-packages/arm/lxml/etree.cpython-310- darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Please, Tell me what information you need. A thousand thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants