Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named 'pdfkit' #16

Open
xpguan opened this issue Apr 17, 2017 · 2 comments
Open

ImportError: No module named 'pdfkit' #16

xpguan opened this issue Apr 17, 2017 · 2 comments

Comments

@xpguan
Copy link

xpguan commented Apr 17, 2017

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'

这是为啥?

@Big2Cat
Copy link

Big2Cat commented Apr 19, 2017

没有安装pdfkit,去搜一下安装方法

@pendave
Copy link

pendave commented May 25, 2017

是啊 用里面的 import pdfkit
要先
pip install pdfkit

当然还要装 wkhtmltopdf
https://wkhtmltopdf.org/index.html
s4x4 5 qgx1v9wg9_q y6x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants