You need to install wkhtmltopdf.

The versions in Debian/Ubuntu repositories (installed using apt-get install wkhtmltopdf) have reduced functionality and you will most likely want to install one of the stable binaries provided at which provide increased functionality (headless, patched Qt, better rendering support).

Installation of the pre-compiled binaries on Ubuntu is as simple as;

tar -xf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
sudo cp -r wkhtmltox/* /usr/

pdfkit will automatically look for the wkhtmltohtml binary on your path however if it’s not on your path you can set it.


You can install django-pdfkit either via the Python Package Index (PyPI) or from github.

To install using pip;

$ pip install django-pdfkit

From github;

$ pip install git+