我正在尝试将大量的URL转换为python中的.pdf文件。我遇到了pdfkit,看来这是解决我的问题的好方法。我没有使用anaconda提示来pip安装pdfkit,没有问题。
我现在正在尝试安装wkhtmltopdf.exe文件,当我从https://wkhtmltopdf.org/downloads.html下载文件时,它将开始下载。
当我单击以实际安装下载时,它开始运行并安装到路径C:\ Program Files \ wkhtmltopdf
几秒钟后,我收到一条错误消息,指出:
Error opening file for writing
C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe
Click Abort to stop the installation,
Retry to try again, or
Ignore to skip this file
我在Windows 10计算机上。我尝试过在线查找,不知道尝试下载此文件可能有什么问题
编辑: McAfee由于正在安装更新而阻止了下载
从官方站点https://wkhtmltopdf.org/downloads.html下载时选择正确的Windows版本(32位/ 64位)。>
也许您想考虑: