安裝Python3.6.4後,在使用numpy時報錯RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibil

緣由:ip

由於安裝numpy用的是 pip來安裝的pip

pypi官方對於numpy的庫已經升級了,可是升級後的版本與其餘的庫不匹配numpy

因此報錯升級

 

解決:版本

先把已經安裝的numpy卸載: pip uninstall numpy

 

再安裝低版本的numpy:

pip install -U numpy==1.14.5

相關文章
相關標籤/搜索