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上吗?