由于最新版的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

相关文章:

  • 2021-03-31
  • 2021-08-01
  • 2021-12-09
  • 2021-05-26
  • 2021-09-20
猜你喜欢
  • 2021-04-27
  • 2022-01-02
  • 2021-12-11
  • 2021-09-16
  • 2021-04-06
  • 2022-12-23
  • 2021-04-19
相关资源
相似解决方案