You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the solution, I don't know why but python was replacing my environment path "C:\Program Files\wkhtmltopdf\bin" with "C:\Program Files\wkhtmltopdin" because of "\b" so I just replaced "\b" with "/b" and solved.
OSError: No wkhtmltopdf executable found: "b''"
那个报错
我环境变量里加的是
D:\Program Files\wkhtmltopdf\bin\
以为是\b这个在python里解析出错的造成的,于是去改成
D:\\Program Files\\wkhtmltopdf\\bin\\
还是不行。我参考了老外的问答
http://stackoverflow.com/questions/27673870/cant-create-pdf-using-python-pdfkit-error-no-wkhtmltopdf-executable-found
改成
就可以正常运行了
请问只能这样处理吗?
The text was updated successfully, but these errors were encountered: