OSError: No wkhtmltopdf executable found: "E:\wkhtnltopdf\wkhtmltopdf\bin\wkhtmltopdf.exe"
时间: 2023-08-24 21:04:31 浏览: 169
根据引用,该错误是由于找不到wkhtmltopdf可执行文件导致的。提示中建议检查该文件是否存在以及当前进程是否可读取该文件。另外,你可以在方法调用中手动传递该文件的路径。你也可以参考引用和中的代码示例来设置wkhtmltopdf的路径。你可以检查一下你的wkhtmltopdf文件是否存在,并确保路径正确。如果不存在,你可以安装wkhtmltopdf。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [raise IOError(‘No wkhtmltopdf executable found: “%s“\n‘OSError: No wkhtmltopdf executable found:...](https://blog.csdn.net/qq_43384629/article/details/129971860)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *3* [Pdfkit OSError: No wkhtmltopdf executable found](https://blog.csdn.net/qq_38846810/article/details/83450293)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文