Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 升级numpy+;MKL图书馆_Python 3.x_Numpy_Pip_Intel Mkl - Fatal编程技术网

Python 3.x 升级numpy+;MKL图书馆

Python 3.x 升级numpy+;MKL图书馆,python-3.x,numpy,pip,intel-mkl,Python 3.x,Numpy,Pip,Intel Mkl,当我试着运行我的程序时,我得到了这个错误 from . import _tifffile Runtime error: module compiled against API version 0xb but this version of numpy is 0xa > from numpy._distributor_init import NUMPY_MKL # requires numpy+mkl > ImportError: cannot import name 'NUMPY

当我试着运行我的程序时,我得到了这个错误

from . import _tifffile
Runtime error: module compiled against API version 0xb but this version of numpy is 0xa
> from numpy._distributor_init import NUMPY_MKL  # requires numpy+mkl
> ImportError: cannot import name 'NUMPY_MKL'
当我使用升级numpy安装时

pip安装numpy--升级

numpy版本匹配,但更新的numpy库替换了我的numpy+MKL,我收到了此错误

from . import _tifffile
Runtime error: module compiled against API version 0xb but this version of numpy is 0xa
> from numpy._distributor_init import NUMPY_MKL  # requires numpy+mkl
> ImportError: cannot import name 'NUMPY_MKL'

如何升级我的numpy_MKL库?

请参阅我对另一个问题的回答: 并升级至0.21.0版
pip install pandas==0.21.0
并再次运行测试

但是如果您在
Windows
上,请尝试从此处下载二进制文件: 然后使用
pip
安装它,然后再次运行测试。
不幸的是,我没有Windows计算机来验证这一点。

您在Windows上吗?