eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PopOS (linux distro) installation errors

SaraVieira opened this issue · comments

Error on installation on debian disto

  • Version of LilySurfaceScrapper: 1.8.0
  • Version of Blender: 3.1
  • Operating System: Linux, PopOS, Debian disto
  • If relevant, add some screenshot

Info:

Error message:

Traceback (most recent call last):
  File "/app/blender/3.1/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/saravieira/.var/app/org.blender.Blender/config/blender/3.1/scripts/addons/LilySurfaceScraper/__init__.py", line 31, in <module>
    from . import frontend
  File "/home/saravieira/.var/app/org.blender.Blender/config/blender/3.1/scripts/addons/LilySurfaceScraper/frontend.py", line 10, in <module>
    from .CyclesLightData import CyclesLightData
  File "/home/saravieira/.var/app/org.blender.Blender/config/blender/3.1/scripts/addons/LilySurfaceScraper/CyclesLightData.py", line 9, in <module>
    from .LightData import LightData
  File "/home/saravieira/.var/app/org.blender.Blender/config/blender/3.1/scripts/addons/LilySurfaceScraper/LightData.py", line 7, in <module>
    from .ScrapersManager import ScrapersManager
  File "/home/saravieira/.var/app/org.blender.Blender/config/blender/3.1/scripts/addons/LilySurfaceScraper/ScrapersManager.py", line 26, in <module>
    from .Scrapers.AbstractScraper import AbstractScraper
  File "/home/saravieira/.var/app/org.blender.Blender/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/saravieira/.var/app/org.blender.Blender/config/blender/3.1/scripts/addons/LilySurfaceScraper-master/blender/LilySurfaceScraper/site-packages/x86/lxml/__init__.py)

I installed blender with flatpak and already had python installed so I ran this command:

❯ pip install lxml -t "/home/saravieira/.var/app/org.blender.Blender/config/blender/3.1/scripts/addons"
WARNING: Keyring is skipped due to an exception: Failed to open keyring: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken..
Collecting lxml
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f4b9188e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /packages/ce/69/66c2112761ed295a8469c3edf9f68b2f37c878a95fd715cab862d1ec92a1/lxml-4.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
  Downloading lxml-4.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.9 MB)
     |████████████████████████████████| 6.9 MB 1.6 MB/s 
Installing collected packages: lxml
Successfully installed lxml-4.8.0

I get the same error after this

Hope this helps, let me know anything I can do to help debug
lxml.zip

Your pip command did not install the package for the correct version of Python, because Blender comes with its own Python, which has a version (3.10) different from your system wide installation (3.9). Replace pip with /home/saravieira/.var/app/org.blender.Blender/config/blender/3.1/bin/python -m pip.

Alternatively, I just updated the release, you may try 1.8.0-rc2 (uninstall 1.8.0-rc1 first).

Hey!

tried the last version but unfortunately it does not work still and I get the same error :/

About your command, I tried that first but unfortunately seems flatpak installed this in a super weird way and phyton is not there.

I'm gonna close the issue as I can't provide much help in debugging :/