【发布时间】:2018-04-28 10:31:02
【问题描述】:
导入 pdfkit
错误:回溯(最近一次调用最后一次):
文件“<stdin>”,第 1 行,<module>ImportError:没有名为“pdfkit”的模块
当我在 python2 中使用 pdfkit 时它工作正常,但如果我在 python3 中使用它会出现上述错误
【问题讨论】:
-
你是如何为 Python 3 安装 pdfkit 的?
-
@Evert Sudo pip install pdfkit
-
你是如何为 Python 2 安装它的?
-
我只安装了一次,你能告诉我它是如何为python3安装的
-
@Evert 谢谢,现在可以了
标签: python-3.x