Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I couldn't get it to work #4

Open
667Labs opened this issue Jan 20, 2022 · 7 comments
Open

I couldn't get it to work #4

667Labs opened this issue Jan 20, 2022 · 7 comments

Comments

@667Labs
Copy link

667Labs commented Jan 20, 2022

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

@enjeck
Copy link
Owner

enjeck commented Jan 20, 2022

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

@667Labs
Copy link
Author

667Labs commented Jan 20, 2022

Yes.

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

@667Labs
Copy link
Author

667Labs commented Jan 20, 2022

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
Copy link
Owner

enjeck commented Jan 20, 2022

@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
Copy link
Author

667Labs commented Jan 20, 2022

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

@enjeck
Copy link
Owner

enjeck commented Jan 21, 2022

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

@in1yan
Copy link

in1yan commented Dec 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants