eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL
Other
598 stars 59 forks source link

Mac "etree" and "lmxl" issue #220

Open ScratchGod opened 2 years ago

ScratchGod commented 2 years ago
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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

Jake1955 commented 1 year ago

Likewise

Jake1955 commented 1 year ago

Blender 3.4.0 - Lily Surface Scrapper v1.8.1

eliemichel commented 1 year ago

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 commented 1 year ago

/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 commented 1 year ago

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

Elisinac commented 1 year ago

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