enjeck / Blobby

Random SVG blob characters
GNU General Public License v3.0
55 stars 10 forks source link

I couldn't get it to work #4

Open 667Labs opened 2 years ago

667Labs commented 2 years ago

I can't create a new character, can you explain in detail please?

enjeck commented 2 years ago

@667Labs You mean you can't run it locally?

667Labs commented 2 years ago

Yes.

i'm doing all the necessary setups, unfortunately I couldn't create an image

667Labs commented 2 years ago

Traceback (most recent call last): File "C:\Users\Eray\Desktop\Blobby-master\app.py", line 4, in from cairosvg import svg2png File "C:\Users\Eray\AppData\Local\Programs\Python\Python39\lib\site-packages\cairosvg__init.py", line 26, in from . import surface # noqa isort:skip File "C:\Users\Eray\AppData\Local\Programs\Python\Python39\lib\site-packages\cairosvg\surface.py", line 9, in import cairocffi as cairo File "C:\Users\Eray\AppData\Local\Programs\Python\Python39\lib\site-packages\cairocffi\init.py", line 48, in cairo = dlopen( File "C:\Users\Eray\AppData\Local\Programs\Python\Python39\lib\site-packages\cairocffi\init__.py", line 45, in dlopen raise OSError(error_message) # pragma: no cover OSError: no library called "cairo" was found no library called "libcairo-2" was found cannot load library 'libcairo.so.2': error 0x7e cannot load library 'libcairo.2.dylib': error 0x7e cannot load library 'libcairo-2.dll': error 0x7e

enjeck commented 2 years ago

@667Labs The error message shows your problem, I think. You have to install the Cairo library. Install every library listed here (except for gunicorn): https://github.com/enjeck/Blobby/blob/master/requirements.txt

667Labs commented 2 years ago

I installed all of them completely, unfortunately I get the same error.

enjeck commented 2 years ago

@667Labs I have no idea how to fix this now. If I ever figure out a solution, I'll let you know.

in1yan commented 1 year ago

Download and install cairo dev environment https://gladewin32.sourceforge.net/