【Python】使用pdfkit报错:OSError: wkhtmltopdf exited with non-zero code 1. error:
在工作自动化过程中,有时需要使用Python的pdfkit包将URL或者str等转换成pdf文件,今天使用如下代码在将str转换为pdf时,代码如下:options={'page-size':'Letter','margin-top':'0.75in','margin-right':'0.75in','margin-bottom':'0.75in',