eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Addon won't load

RemoBalcells opened this issue · comments

Windows 10 Home 21H1
Blender 2.93.2
Lily version 1.7.4
After installation I am unable to activate the addon, I get the following error:

Modules Installed (LilySurfaceScraper) from 'C:\Users\Ohuka\Downloads\LilySurfaceScraper-v1.7.4.zip' into 'C:\Users\Ohuka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons'
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\addon_utils.py", line 351, in enable
mod = import(module_name)
File "C:\Users\Ohuka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\LilySurfaceScraper_init_.py", line 31, in
from . import frontend
File "C:\Users\Ohuka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\LilySurfaceScraper\frontend.py", line 9, in
from .CyclesLightData import CyclesLightData
File "C:\Users\Ohuka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\LilySurfaceScraper\CyclesLightData.py", line 9, in
from .LightData import LightData
File "C:\Users\Ohuka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\LilySurfaceScraper\LightData.py", line 7, in
from .ScrapersManager import ScrapersManager
File "C:\Users\Ohuka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\LilySurfaceScraper\ScrapersManager.py", line 26, in
from .Scrapers.AbstractScraper import AbstractScraper
File "C:\Users\Ohuka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\LilySurfaceScraper\Scrapers\AbstractScraper.py", line 29, in
from lxml import etree
ImportError: cannot import name 'etree' from 'lxml' (C:\Users\Ohuka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\LilySurfaceScrapper\site-packages\lxml_init_.py)

  • URL of the material or world that failed to import (and variant, if applicable): https://...
  • Version of LilySurfaceScrapper: x.x.x (MUST be the last one! See https://github.com/eliemichel/LilySurfaceScrapper/releases/latest to check)
  • Version of Blender: x.xx
  • Operating System: Windows/OSX/linux with as much details as possible
  • If relevant, add some screenshot

Try installing lxml manually using the following line in an admin command line:

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

Hey, I just tried this, having the same issue as described above.
Upon trying manual install, I get this:

"B:\Program Files\Blender Foundation\Blender 2.93\2.93\python\bin\python.exe" -m pip install lxml -r "B:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules"
ERROR: Could not open requirements file: [Errno 13] Permission denied: 'B:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules'
WARNING: You are using pip version 20.2.3; however, version 21.2.4 is available.
You should consider upgrading via the 'B:\Program Files\Blender Foundation\Blender 2.93\2.93\python\bin\python.exe -m pip install --upgrade pip' command.

Pasting the command results in a message that the syntax for filename etc is wrong. Tried to install pip via https://pip.pypa.io/ but I get stuck even on the "C:>" commands. I started using computers in MS DOS, but this is looking weird D-:

The "Permission denied" part of the message is the key: you did not start your console in Admin mode ;)
image

No, I definitely ran it as admin, and I just retried, same game :-)

Does B:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules exist? Otherwise try:

C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\bin\python.exe" -m pip install lxml --user

This should prevent any Permission denied issue.

OK, replacing the "C" with a "B" in the last command worked (for me exclusively, as "B:" is my application directory, not "C:", for future reference! Upgrading the old pip too over a couple of corners. The command for upgrading was set in ' istead of " by Python in the command line.

And now the Addon loads :-D
Double Thank you!!

I also can't activate addon on my Mac

yes i'm on M1, okay.. let me try

Did it work?

Yess.. work now, thankyou 👍🔥

hi i cant do anything too please help me