eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to enable 1.7.5 rc2 on 3.1 on Ubuntu 20.04

baldyman01 opened this issue · comments

I can install this addon onto Blender 3.1 Stable running on Ubuntu 20.04 however when but when attempting to enable it the following traceback is thrown -

Traceback (most recent call last): File "/home/pete/Applications/Blender_Launcher/stable/blender-3.1.0+stable.c77597cd0e15/3.1/scripts/modules/addon_utils.py", line 351, in enable mod = __import__(module_name) File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/__init__.py", line 31, in <module> from . import frontend File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/frontend.py", line 10, in <module> from .CyclesLightData import CyclesLightData File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/CyclesLightData.py", line 9, in <module> from .LightData import LightData File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/LightData.py", line 7, in <module> from .ScrapersManager import ScrapersManager File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/ScrapersManager.py", line 26, in <module> from .Scrapers.AbstractScraper import AbstractScraper File "/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScraper/Scrapers/AbstractScraper.py", line 31, in <module> from lxml import etree ImportError: cannot import name 'etree' from 'lxml' (/home/pete/.config/blender/3.1/scripts/addons/LilySurfaceScrapper/site-packages/lxml/__init__.py)
LSS 1.7.4 stable produces an identical traceback.

Can you run the linux equivalent of:

"C:\Program Files\Blender Foundation\Blender 3.1\3.1\python\bin\python.exe" -m pip install lxml -t "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\modules"

and then share the content of scripts\modules\lxml? I would add it to the official release so that everybody can benefit from the fix!

Not OP, but:
lxml.zip

P.S. I'm on Mac if that affects anything!

Thanks a lot @PhlixFer it affects indeed, also do you have an arm (M1) or x86 (Intel) chip?

I'm on an Intel Mac!

Perfect thanks! I've updated the last release to include this.