繁体   English   中英

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

[英]unable to import numpy library in jupyter notebbok even if it was installed

在将 numpy 导入 jupyter notebook 时,我在下图中遇到了这个问题。 请帮忙:

在此处输入图像描述

这是打印(sys.path): 在此处输入图像描述

你可以试试print(sys.path)吗?

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

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

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM