即使已安装,也无法在jupyter notebbok中导入numpy库

时间:2019-10-18 17:19:24

标签: python jupyter-notebook

在将numpy导入jupyter笔记本时,我在下图中遇到了此问题。 请帮助:

enter image description here

这里是print(sys.path): enter image description here

2 个答案:

答案 0 :(得分:0)

您可以尝试print(sys.path)吗?

过去,我在使用jupyter和多个python实例时遇到麻烦。 pip安装到一个python并在另一个python上运行jupyter。

(这可能应该是评论,但我不能评论)

答案 1 :(得分:0)

卸载numpy('pip install numpy'),然后再次重新安装('pip install numpy')。