AttributeError: module 'tensorflow' has no attribute 'Session'
要试着跑一跑CNN代码,图省事儿就装了anaconda3和tensorflow2.0
然鹅悲催的发现,2.0不兼容1.x的属性和方法,于是我重装了tensorflow1.9.0
更惨的是 anaconda3现在只支持python3.7,而tf1.9只支持python3.5[🙂]
连着anaconda一起卸载吧,重新装anaconda3 2.4.1的版本

其他一些问题度娘都找到了答案,不用抄一遍
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecate
https://blog.csdn.net/bigdream123/article/details/99467316

https:our CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
https://blog.csdn.net/Fourierrr_/article/details/79749899

[🙂]遇到什么困难,我们要积极的面对它 奥利给