错误:没有名为枕头,请求或pywhatkit的模块

问题描述 投票:0回答:1

pywhatkit,请求和枕头已经安装在我的系统中。但是,在导入其中任何一种时,都会发生ImportError。

enter image description here

通过jupyter笔记本安装后,仍然出现相同的错误。

enter image description hereenter image description here

实际上,我是该领域的学生和菜鸟,所以您可以低估我。随时提供帮助。

python python-requests python-imaging-library importerror
1个回答
0
投票

通过本地上的pip安装不一定会在jupyter笔记本中为内核安装它。我通常在单元格中写入%pip install {libraries_here}之类的内容。运行该单元后,我重新启动内核,并且程序包应该在那里。

© www.soinside.com 2019 - 2024. All rights reserved.