-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
import cairocffi
errors on Windows
#57
Comments
What is the exact name of the DLL file? Is it one of these? (Namely |
That is correct, it is
Yes.
What would be some other sensical value for return backend.load_library(path, flags)
OSError: cannot load library A:\Anaconda\lib\site-packages\gtk-2.0\runtime\bin\libcairo-gobject-2.dll: error 0xc1
```python |
Random idea: is your Python 32-bit or 64-bit? Does this match your cairo DLLs? Other than this I don’t know what else to suggest, sorry. I don’t use Windows myself. |
More precisely, if you have a |
My Python is 64-bit. Based on your suggestion, I cleared up all installed DLLs, and then got the 64-bit versions (again, from the GTK project), and put them into a special folder ("cairo_dlls") which I then added to the path. I still get the same error.
Okay, makes sense. I will just switch to my Ubuntu installation :) |
Hi,
I have installed
cairo
on my Windows 8 machine by getting the necessary DLLs from the GTK project, as per the instructions in thecairo
documentation.I put the DLLs supplied from that page into my
System32
folder.Then, I used
pip
to installcairocffi
.When I try to run a script only with
import cairocffi
, I get the following error:Why is this happening?
The text was updated successfully, but these errors were encountered: