FutureWarning: In the future `np.object` will be defined as the corresponding NumPy scalar异常解决办法

AttributeError: module ‘numpy’ has no attribute ‘object’.

原因:numpy版本问题,卸载重新安装对应的版本

pip uninstall numpy==1.19.2(根据自己的版本需要,安装对应的版本)

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
扎眼的阳光的头像扎眼的阳光普通用户
上一篇 2023年8月23日
下一篇 2023年8月23日

相关推荐