Errno 13 Permission denied in django-wkhtmltopdf

django, pdf, permissions, python, wkhtmltopdf

Solution

You need to install wkhtmltopdf itself, and specify the path to the binary (either in /usr/bin or /usr/local/bin).

Problem

I use django-wkhtmltopdf to generate PDF documents. I described a clear path to the django-wkhtmltopdf. ``` WKHTMLTOPDF_CMD = '/home/vagrant/envs/vagrant/lib/python2.7/site-packages/wkhtmltopdf' ``` I get the error: ``` [Errno 13] Permission denied ``` Permissions in the path to the django-wkhtmltopdf: ``` drwxrwxr-x 3 vagrant vagrant Feb 17, 4096 7:32 wkhtmltopdf ```

Original source