【问题标题】:Getting error with html to pdf converter(pdfkit) in local windows 10 machine在本地 Windows 10 机器中使用 html 到 pdf 转换器(pdfkit)出现错误
【发布时间】:2020-08-01 04:57:57
【问题描述】:

"cmd=['Xvfb', '-help']\nOSError=[WinError 2] 系统找不到指定的文件\n程序安装错误!"

在 windows10 中从 HTML 转换为 pdf 时出现此错误 我已经在我的 windows10 中安装了 wkhtmltopdf0.9.9 在我的项目和环境变量中配置了 wkhtmltopdf 路径。

【问题讨论】:

  • 该软件包需要Xvfd,Windows 不支持此功能

标签: django pdfkit xvfb


【解决方案1】:

从系统完全卸载后尝试重新安装 wkhtmltopdf。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-09-03
    • 1970-01-01
    • 2018-04-29
    • 2018-08-19
    • 2011-02-24
    • 2011-11-16
    相关资源
    最近更新 更多