Python问题:Original error was: No module named ‘numpy.core._multiarray_umath‘
1.Numpy版本不对
键盘win+R ——出现运行窗口——输入cmd——回车键
C:\Users\DELL>pip show numpy
输入pip show numpy 显示numpy版本
升级numpy版本,出现错误:pip版本太低
C:\Users\DELL>pip install --upgrade numpy
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: numpy in d:\python\lib\site-packages (1.22.0)
WARNING: You are using pip version 21.3.1; however, version 22.0.3 is available.
You should consider upgrading via the 'D:\python\python.exe -m pip install --upgrade pip' command.
升级pip版本
C:\Users\DELL>python -m pip install -U pip
查看pip版本,升级成功
C:\Users\DELL>pip show pip
先卸载原先的numpy(为了能使numpy升级)
C:\Users\DELL>pip uninstall numpy
pip重新安装numpy
C:\Users\DELL>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy
用升级后的pip升级numpy
C:\Users\DELL>pip install --upgrade numpy
原文链接:https://blog.csdn.net/Ajdidfj/article/details/122887429