我试图使用pdfkitpython库将HTML转换为pdf。我跟踪了来自的文档。config = pdfkit.configuration(wkhtmltopdf='/usr/local/bin/wkhtmltopdf/wkhtmltox/bin/wkhtmltopdf')
content = 'This is a paragra
我在python的pdfkit库上工作,以便从html字符串创建pdf文件。它在我的linux系统上运行得很好,但是当我尝试在windows服务器上运行它时,它给出了错误。pdfkit.from_string(html_string, output_dir)import pdfkit
ImportError: No module named pdfkit我使用.exe安装了wkhtmltopdf,在windows上使用pip安装了