经常出现numpy和python版本对应不上的问题
作者:互联网
问题重述:
Please note and check the following:
* The Python version is: Python3.8 from "C:\Users\xulinfei\anaconda3\envs\graduation_tensor1\python.exe"
* The NumPy version is: "1.20.1"and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.Original error was: DLL load failed while importing _multiarray_umath: 找不到指定的模块。
解决方法:
- ①直接升级numpy版本
conda upgrade numpy
实践证明,毫无暖用
- ②尝试更改到对应版本,python3.8对应numpy1.18.2
pip uninstall numpy
pip install numpy==1.18.2
刚开始是在pycharm终端里面运行,毫无暖用
然后在anaconda prompt里面运行,成功解决问题
但是随之而来的是其他的matplotlib函数包和numpy版本不兼容问题
标签:python,Please,不上,暖用,version,版本,numpy 来源: https://www.cnblogs.com/xulinei/p/16244431.html