FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; 解决方案

BUG:

FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.

解决方案:

numpy 1.17 版本过高,重新安装1.16版本

pip install -U numpy==1.16.0

OK.

发布了52 篇原创文章 · 获赞 34 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_43789195/article/details/103274630
今日推荐