简体   繁体   English

在Windows 10上使用Jupyter Notebook导入熊猫错误

[英]importing pandas error with jupyter notebook on windows 10

So I deleted and reinstalled the most up to date version of Anaconda Navigator with Python 3.6 on Windows 10. I launched Jupyter notebook and tried to import 因此,我在Windows 10上删除并重新安装了带有Python 3.6的Anaconda Navigator的最新版本。我启动了Jupyter笔记本并尝试导入

1, numpy, 1,numpy,

2, matplotlib 2,matplotlib

and 3, pandas 3只熊猫

It was able to import Numpy and Matplotlib but for Pandas it gave me a very long error message as follows. 它能够导入Numpy和Matplotlib,但是对于Pandas,它给了我很长的错误消息,如下所示。 I also use a Mac computer and it seems no problem with importing pandas using the Jupyter Notebook. 我也使用Mac电脑,使用Jupyter Notebook导入熊猫似乎没有问题。

导入熊猫错误消息

from the error message it seems that Pandas is not on of the pre-installed libraries in the Anaconda that you installed. 从错误消息中可以看出,Pandas似乎不在您所安装的Anaconda中的预安装库中。 It is the not the problem with the OS. 这不是操作系统的问题。 Run the following command: 运行以下命令:

conda install -c anaconda pandas conda install -c anaconda熊猫

then run the import statement. 然后运行导入语句。

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

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