由于最新版的anaconda内置python版本为3.7。而tensorflow目前只支持到python3.6。因此安装好最新版的anaconda3之后需要sudo conda install python=3.6.6进行降级。然后安装tensorflow就可以了。
1,conda create -n tsf python=3.6 or conda install python=3.6.6 to downgrade python to support tensorflow
2,source activate tsf
3,conda install tensorflow
then tensorflow,numpy and scipy are installed,but no scikit-learn and pandas
4,conda install numpy,conda install pandas,conda install matplotlib,conda upgrade.....
5,source deactivate
tensorflow 架构:https://www.jianshu.com/p/a5574ebcdeab