成功解决ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C h

成功解决ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject


解决问题

ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject

解决思路

值错误:numpy.ufunc大小改变,可能表示二进制不兼容。C header预期216,PyObject预期192

解决方法

numpy版本过低导致,需要对numpy版本进行升级即可!

pip install --upgrade numpy

更新后出现错误:

 from scipy.linalg import _fblas
ImportError: DLL load failed: 找不到指定的模块。

重新更新:pip install --user numpy-1.17.4+mkl-cp36-cp36m-win_amd64.whl

参考文章
ValueError: numpy.ufunc size changed, may indicate binary incompatibility. (FRCNN编译)

(0)

相关推荐