Mac "etree" and "lmxl" issue
ScratchGod opened this issue · comments
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!
Just wanted to mention I am also getting this error. Is there any build of Blender or the addon that are confirmed to work?
Stlll having this issue. I'd really like to try this add-on. Please help.
Likewise
Blender 3.4.0 - Lily Surface Scrapper v1.8.1
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.
/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
Then do it with python3.10
instead of python
, I don't have a mac so I can only guess the command lines
@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!