Pandas Jupyter笔记本-带检索numpy的Erros

Pandas Jupyter笔记本-带检索numpy的Erros,pandas,numpy,jupyter-notebook,Pandas,Numpy,Jupyter Notebook,以下是尝试将熊猫导入为pd时返回的错误消息 ImportError回溯(最近一次调用) 在里面 ---->1进口熊猫作为pd /usr/lib/python3/dist-packages/pandas/__-init___;u.py-in 14 15如果缺少_依赖项: --->16.引起恐怖( 17“无法导入所需的依赖项:\n”+“\n”。加入(缺少依赖项) 18 ) ImportError:无法导入所需的依赖项: 努比: 重要提示:请阅读本文,了解如何解决此问题的建议! 导入nump

以下是尝试将熊猫导入为pd时返回的错误消息


ImportError回溯(最近一次调用)
在里面
---->1进口熊猫作为pd
/usr/lib/python3/dist-packages/pandas/__-init___;u.py-in
14
15如果缺少_依赖项:
--->16.引起恐怖(
17“无法导入所需的依赖项:\n”+“\n”。加入(缺少依赖项)
18     )
ImportError:无法导入所需的依赖项:
努比:
重要提示:请阅读本文,了解如何解决此问题的建议!
导入numpy c扩展失败。
-尝试卸载并重新安装numpy。
-如果您已经这样做了,那么:
1.检查您是否希望从“/usr/bin/Python3.9”使用Python3.9“,
在你的路径或PYTHONPATH中没有可以
干扰您尝试使用的Python和numpy版本“1.17.4”。
2.如果(1)看起来不错,您可以在
https://github.com/numpy/numpy/issues.  请详细说明:
-您是如何安装Python的
-你是如何安装numpy的
-您的操作系统
-是否安装了多个版本的Python
-如果您是从源代码构建的,那么您的编译器版本和理想情况下的构建日志
-如果您正在使用numpy git存储库,请尝试使用`git clean-xdf`
(删除所有不受版本控制的文件)并重新生成numpy。
注意:这个错误有很多可能的原因,所以请不要评论
关于此的现有问题-打开一个新的。
最初的错误是:没有名为“numpy.core.\u multiarray\u umath”的模块

我正在运行Ubuntu 20.04 蟒蛇3.9

我已经检查了Python3.9是否正常运行。 我已经卸载并安装了numpy和anaconda 我已经尝试创建和运行一个虚拟环境来使用jupyter

我不知道还能做什么,也不知道我的问题在哪里。在此方面的任何帮助都将不胜感激。

因此我解决了我的问题

在Jupyter笔记本中打开新笔记本时,它会提示您打开Python3笔记本或Python3.9.0 64位笔记本。虽然Python3.9.0 64位是最新版本,也是我下载的版本,但它不是我安装的版本。打开Python3书籍时,我可以很好地导入pandas(我没有收到关于无法打开numpy的错误消息)

ImportError                               Traceback (most recent call last)
<ipython-input-1-7dd3504c366f> in <module>
----> 1 import pandas as pd

/usr/lib/python3/dist-packages/pandas/__init__.py in <module>
     14 
     15 if missing_dependencies:
---> 16     raise ImportError(
     17         "Unable to import required dependencies:\n" + "\n".join(missing_dependencies)
     18     )

ImportError: Unable to import required dependencies:
numpy: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy c-extensions failed.
- Try uninstalling and reinstalling numpy.
- If you have already done that, then:
  1. Check that you expected to use Python3.9 from "/usr/bin/python3.9",
     and that you have no directories in your PATH or PYTHONPATH that can
     interfere with the Python and numpy version "1.17.4" you're trying to use.
  2. If (1) looks fine, you can open a new issue at
     https://github.com/numpy/numpy/issues.  Please include details on:
     - how you installed Python
     - how you installed numpy
     - your operating system
     - whether or not you have multiple versions of Python installed
     - if you built from source, your compiler versions and ideally a build log

- If you're working with a numpy git repository, try `git clean -xdf`
  (removes all files not under version control) and rebuild numpy.

Note: this error has many possible causes, so please don't comment on
an existing issue about this - open a new one instead.

Original error was: No module named 'numpy.core._multiarray_umath'