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

OSError: no library called "cairo-2" was found #412

Closed
12345-mcpython opened this issue Feb 4, 2024 · 1 comment
Closed

OSError: no library called "cairo-2" was found #412

12345-mcpython opened this issue Feb 4, 2024 · 1 comment

Comments

@12345-mcpython
Copy link

12345-mcpython commented Feb 4, 2024

gtk3 runtime has been installed

python 3.11.2 windows 11

Traceback (most recent call last):
File "", line 1, in
File "C:\software\Python310\Lib\site-packages\cairosvg_init_.py", line 26, in
from . import surface # noqa isort:skip
^^^^^^^^^^^^^^^^^^^^^
File "C:\software\Python310\Lib\site-packages\cairosvg\surface.py", line 9, in
import cairocffi as cairo
File "C:\software\Python310\Lib\site-packages\cairocffi_init_.py", line 47, in
cairo = dlopen(
^^^^^^^
File "C:\software\Python310\Lib\site-packages\cairocffi_init_.py", line 44, in dlopen
raise OSError(error_message) # pragma: no cover
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: no library called "cairo-2" was found
no library called "cairo" was found
cannot load library 'libcairo-2.dll': error 0x7f
cannot load library 'libcairo.so.2': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'
cannot load library 'libcairo.2.dylib': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib'
cannot load library 'libcairo-2.dll': error 0x7f

@liZe
Copy link
Member

liZe commented Mar 11, 2024

This is fixed by Kozea/cairocffi#221, release coming soon!

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

2 participants