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

https://wkhtmltopdf.org/index.html