Forums

OSError at /

OSError at /

[Errno 2] No such file or directory

Request Method: POST Request URL:
Django Version: 1.8.11 Exception Type: OSError Exception Value:

[Errno 2] No such file or directory

Exception Location: /usr/lib/python2.7/subprocess.py in _execute_child, line 1343 Python Executable: /usr/local/bin/uwsgi Python Version: 2.7.12

Where are you seeing that error message? Is it in a website's log? Or somewhere else?

when i submit a form, it show error message as in python(In the browser itself). I written a function to render pdf using wkhtmltopdf.

Ah, that would be the problem -- wkhtmltopdf is not installed on PythonAnywhere. We recommend using weasyprint instead.