-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
dlopen() fails on Windows #1
Comments
As you've seen, it uses internally ctypes.util.find_library('cairo'). Make sure that this works. Consult if needed http://docs.python.org/2/library/ctypes.html#finding-shared-libraries . |
@randfb please try this:
I’ll write up more detailed instruction later. |
Alternatively for step 1~2, try the PyGTK all-in-one installer. It installs more stuff, but an installer might be easier than changing the Step 3 is now done in 07cba79. Please test with the cairocffi’s git version. |
Fixed in 0.3 (just released.) |
I'm having a similar problem, but it's specifically with 'libcairo.so.2'. I searched the project and realised that there's no file with that name. Was I supposed to have installed something before cairocffi? I simply ran 'pip install cairocffi' |
Hi @fjcaetano. If you issue is not exactly the same, it’s usually better to open a new one and refer to this with the number like #1. What OS are you on? And yes, cairocffi needs cairo. |
There is no ffi.dlopen('cairo') and I am still having this issue |
@sasnfbi1234 Yes, on Windows it’s (probably) |
Reported by @randfb on Reddit:
http://www.reddit.com/r/Python/comments/165bbf/cairocffi_dropin_pycairo_replacement_installs/c7tjwo7
http://www.reddit.com/r/Python/comments/165bbf/cairocffi_dropin_pycairo_replacement_installs/c7tkae4
It seems that dlopen() fails to find cairo.dll.
@randfb, how did you install pycairo and cairo?
The text was updated successfully, but these errors were encountered: