安装Python3.6.4后,在使用numpy时报错RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibil

编程入门 行业动态 更新时间:2024-10-16 20:28:28

原因:

因为安装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

本文发布于:2023-06-13 19:51:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1398152.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:时报   RuntimeWarning   numpy   binary   incompatibil

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!