Install WeasyPrint WeasyPrint is a smart solution helping web developers to create PDF documents. See platform-specific instructions for Linux, OS X and Windows below. Installing, Python, cairo, Pango and GDK-PixBuf need to be installed separately. The official installation method Windows ¶. WeasyPrint is automatically installed and tested on virtual macOS machines.
Pango, GdkPixbuf, and cairo can not be installed with pip and need to be installed from your platform’s macOS ¶. See platform-specific instructions for Linux, macOS and Windows below.