安装Python3.6.4后,在使用numpy时报错RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88

原因:

因为安装numpy用的是 pip来安装的

pypi官方对于numpy的库已经升级了,但是升级后的版本与其他的库不匹配

所以报错

 

解决:

先把已经安装的numpy卸载: pip uninstall numpy

 

再安装低版本的numpy:

pip install -U numpy==1.14.5

posted @ 2018-10-31 18:10  Frankiee  阅读(6556)  评论(0编辑  收藏  举报