eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blender 3.1 (addon new downloaded and installed, after installing getting this error message)

ErolSaydam opened this issue · comments

Start with a clear and concise description of what the bug is, then provide:
image
Blender 3.1 (addon new downloaded and installed, after installing getting this error message)
Lily Surface Scraper Version 1.7.4
Windows 10pro English latest version
Blender 3.1 (latest version)
When I hit the square to activate the addon:
image
File "C:\program files\Blender Foundation\Blender3.1\3.1\scripts\Modules\addon_utils.py, line 351 in enalbe mod=import(module_name) and so more see the screenshot I send
After this tried to add it into Blender 3.01 :
and there its working:
image

  • 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

same here!

im also getting this error

same

will there be any fixes ?

commented

As a workaround, try the instructions from https://github.com/eliemichel/LilySurfaceScraper#troubleshooting with a couple of tweaks; use 3.1 instead of 2.93 and use -t instead of -r. You may need to run the command prompt as admin (in Windows menu, search for cmd, right click and choose Run as Administrator)

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

I tried installing it this way but it keeps saying

ERROR: Could not open requirements file: [Errno 13] Permission denied: 'C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\modules'
Any help? I am running cmd in administrator mode

Nevermind. For those with the same problem, simply install lxml with pip. Once installed it will be in c:\program files\pythonXX(your python version mine is python310)\lib\site-packages. Copy the lxml folder to C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\modules
That's all

I don't know why my scripts/modules is not installable, so I tried to install lxml in python interpreter and it worked!
After installing lxml, restart blender.
image

Same here, 3.1

For Windows users, this release should fix the problem: https://github.com/eliemichel/LilySurfaceScraper/releases/tag/v1.7.5-rc3
For other users, please as advised by @jlai follow the instructions from https://github.com/eliemichel/LilySurfaceScraper#troubleshooting and send me the content of the lxml directory so that I can add it to the release!

Hi thanks for the support, this is working on Blender 3.1 , installed it just now Version 1.7.4 . Many thanks for the support, will have a look for the first time how this works, the youtube video I saw was awesome and a super tool