DjangoPDF: FileNotFoundError: [WinError 2] The system cannot find the file specified

 File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable

hi;

I want to display a PDF file in the navigator; knowing that I installed wkhtmltox-0.12.6-1.msvc2015-win64; but it gives me the following error message 
in browser:

DoesNotExist at /scolar/Prise_en_chargeS2_PDFView/1/ Engagement matching query does not exist. Request Method: GET Request URL: http://127.0.0.1:8000/scolar/Prise_en_chargeS2_PDFView/1/ Django Version: 2.2.10 Exception Type: DoesNotExist Exception Value:
Engagement matching query does not exist. Exception Location: C:\Users\LENOVO\workspace\budgetenv\lib\site-packages\django\db\models\query.py in get, line 406 Python Executable: C:\Users\LENOVO\workspace\budgetenv\Scripts\python.exe Python Version: 3.8.0 Python Path:
['C:\Users\LENOVO\workspace\Project_GFC_Remote', 'C:\Users\LENOVO\AppData\Local\Programs\Python\Python38\DLLs', 'C:\Users\LENOVO\AppData\Local\Programs\Python\Python38\lib', 'C:\Users\LENOVO\AppData\Local\Programs\Python\Python38', 'C:\Users\LENOVO\workspace\budgetenv',

in eclipse:

File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable


File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable

need help emergency

Back to Top