python_scripts
python_scripts copied to clipboard
ImportError: No module named 'pdfkit'
root@raspberrypi:/home/pi/python/crawler_html2pdf/pdf# python3 crawler.py
Traceback (most recent call last):
File "crawler.py", line 14, in
这是为啥?
没有安装pdfkit,去搜一下安装方法
是啊 用里面的 import pdfkit
要先
pip install pdfkit
当然还要装 wkhtmltopdf
https://wkhtmltopdf.org/index.html
