This page provides 32- and 64-bit Windows binaries of many scientific open-source extension packages for the. Install numpy+mkl before other packages that depend on it. Cairocffi, CFFI-based bindings for the cairo graphics library.
Installing WeasyPrint on Windows
WeasyPrint converts HTML including images to PDF, it's cross platformbut Windows requires a decent amount of massaging to persuade it to work.
To install Pango and Cairo download the all in one bundleof the GTK+ stack and extract the archive to C:GTK.
You'll need to add the GTK bin folder to your system path so the variouslibraries can be found when requested by WeasyPrint, to do thatgo to the 'System' in the Control Panel, then open 'Advanced SystemSettings' then 'Environment Variables' and edit the System variable calledPath by adding ;c:gtk to the end of the current value.
With that out of the way, we need to install a few Python libraries thatWeasyPrint uses to interface with the GTK stack. The easiest way is fromprecompiled binaries, so head over to Christoph Gohkle's Python Packagesand download and install Py2Cairo, PyGObject and PyGTK for your version ofPython (I've tested with 32bit 2.7). You'll also need to install thelxml package he provides.
Now you should be able to just pip install WeasyPrint