出现了一连串的警告: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'. _np_qint8 = np.dtype([("qint8", np.int8, 1)])
,我按照百度到的卸载numpy的17版本,重新安装了16版本,结果又显示No module named 'tensorflow'
。
————————分割线————————
解决方案:
我想应该是1.16版本并没有和安装好的tf匹配上,我也不知道该咋办了,就重新安装了一遍tf,参照我的文章:mac安装tensorflow1.x,解决no module named 'tensorflow’的解决方案部分。
然后我又参考:https://blog.csdn.net/bigdream123/article/details/99467316文章的解决方法,终于成功解决了!
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated...
最新推荐文章于 2024-04-16 20:33:50 发布