原因:
因为安装numpy用的是 pip来安装的
pypi官方对于numpy的库已经升级了,但是升级后的版本与其他的库不匹配
所以报错
解决:
先把已经安装的numpy卸载: pip uninstall numpy
再安装低版本的numpy:
pip install -U numpy==1.14.5
转载于:https://wwwblogs/frankielf0921/p/9884929.html
更多推荐
安装Python3.6.4后,在使用numpy时报错RuntimeWarning: numpy.dtype size changed, may indicate
发布评论