Zulko / gizeh

Simple Vector Graphics for Python
Other
709 stars 69 forks source link

Are people able to successfully install and use `cairocffi` (through `gizeh`) on Windows? #19

Closed bzm3r closed 9 years ago

bzm3r commented 9 years ago

Hi all,

I have not been successful in installing gizeh on Windows, because I am not able to get cairocffi to work.

Have others had the same issue, or are you able to use gizeh on your Windows system?

Kind regards, Brian

bzm3r commented 9 years ago

Apparently, I am able to install it on Windows now...okay, so never mind, and the answer is yes.

timeisapear commented 9 years ago

@bmer Hi, I am having the same issues installing--the cannot load library libcairo.so.2 error. How did you resolve it?

I am on 64-bit Windows Server 2008 with Winpython installation trying to install weasyprint (which has cairocffi/cairo as a dependency).

Thanks, Steve

bzm3r commented 9 years ago

@timeisapear Hi, hope I am not too late to help. I downloaded the gtk all-in-one package available here: http://www.gtk.org/download/win64.php

Then, I made sure that my PATH variable (I use Rapid Environment Editor to change that around: http://www.rapidee.com/en/about) included the /bin/ directory provided by the gtk all-in-one package.

Then, everything seemed to be relatively smooth. I am not sure if it's worth noting, but I was installing cffi through the Anaconda 64-bit Windows environment: http://continuum.io/downloads

coraxx commented 8 years ago

I used this 64 bit runtime installer for gtk2: http://lvserver.ugent.be/gtk-win64/gtk2-runtime/ worked fine for my 2.7.10 64bit winpython installation.