当前位置:   article > 正文

Original error was: No module named ‘numpy.core._multiarray_umath‘_original error was: no module named 'numpy.core._m

original error was: no module named 'numpy.core._multiarray_umath

今天卸载了Python2.6.8,安装了python 3.9。发现之前可以跑得matplotlib相关的程序不能运行,显示如下错误:

  1. Please note and check the following:
  2. * The Python version is: Python3.9 from "C:\python\python.exe"
  3. * The NumPy version is: "1.19.2"
  4. and make sure that they are the versions you expect.
  5. Please carefully study the documentation linked above for further help.
  6. Original error was: No module named 'numpy.core._multiarray_umath'

通过卸载重装解决问题

  1. pip uninstall numpy
  2. pip install --upgrade numpy
  3. #或者
  4. pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/503619
推荐阅读
相关标签
  

闽ICP备14008679号