赞
踩
今天卸载了Python2.6.8,安装了python 3.9。发现之前可以跑得matplotlib相关的程序不能运行,显示如下错误:
- Please note and check the following:
-
- * The Python version is: Python3.9 from "C:\python\python.exe"
- * The NumPy version is: "1.19.2"
-
- and make sure that they are the versions you expect.
- Please carefully study the documentation linked above for further help.
-
- Original error was: No module named 'numpy.core._multiarray_umath'
通过卸载重装解决问题
- pip uninstall numpy
-
- pip install --upgrade numpy
- #或者
- pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。