1.Window,MacOS,Linux都已支持Tensorflow。
2.Window用戶只能使用python3.5(64bit)。MacOS,Linux支持python2.7和python3.3+。 3.有GPU可以安裝帶GPU版本的,沒有GPU就安裝CPU版本的。
推薦安裝Anaconda,pip版本大於8.1。
Windows安裝Tensorflow
CPU版本:
管理員方式打開命令提示符,輸入命令:pip install tensorflow GPU版本:
管理員方式打開命令提示符,輸入命令:pip install tensorflow-gpu(注意 - 這里沒有空格)
更新Tensorflow: pip uninstall tensorflow pip install tensorflow
Linux和MacOS安裝Tensorflow CPU版本:
Python 2.7用戶:pip install tensorflow Python3.3+用戶:pip3 install tensorflow GPU版本:
Python 2.7用戶:pip install tensorflow-gpu Python3.3+用戶:pip3 install tensorflow-gpu

確定你的pip是在你需要的python3.6的環境。如果是的話直接pip install tensorflow # 最后我是用這條命令解決的問題,在conda list 下也可以看到TensorFlow模塊導入成功
更新:同時還要確認python是64位,pip版本大於8.1 (pip install --upgrade pip)
安裝Keras模塊時,也會出現time out超時
pip install keras --upgrade
解決:設置一個默認的時間
pip --default-timeout=100 install keras