LilySurfaceScraper icon indicating copy to clipboard operation
LilySurfaceScraper copied to clipboard

Mac "etree" and "lmxl" issue

Open ScratchGod opened this issue 3 years ago • 9 comments

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

ScratchGod avatar Sep 27 '22 04:09 ScratchGod

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!

JordnRiley avatar Sep 29 '22 19:09 JordnRiley

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

mobiusteapot avatar Oct 12 '22 02:10 mobiusteapot

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

JordnRiley avatar Nov 20 '22 22:11 JordnRiley

Likewise

Jake1955 avatar Jan 13 '23 02:01 Jake1955

Blender 3.4.0 - Lily Surface Scrapper v1.8.1

Jake1955 avatar Jan 13 '23 02:01 Jake1955

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.

eliemichel avatar Jan 13 '23 08:01 eliemichel

/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

Jake1955 avatar Jan 18 '23 02:01 Jake1955

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

eliemichel avatar Feb 12 '23 16:02 eliemichel

@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!

Elisinac avatar Apr 29 '23 15:04 Elisinac