win7下安装TensorFlow

来源:互联网 发布:华能和国电投合并知乎 编辑:程序博客网 时间:2024/06/04 22:48


安装CPU版TensorFlow 0.12,在anaconda3的Prompt下输入

pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl  

安装GPU版TensorFlow 0.12,在anaconda3的Prompt下输入

pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0rc0-cp35-cp35m-win_amd64.whl  

安装过程可能提示

Installing collected packages: setuptools, protobuf, numpy, tensorflow
  Found existing installation: setuptools 27.2.0
Cannot remove entries from nonexistent file     \anaconda3\lib\site-p
ackages\easy-install.pth


运行

运行:pip install --upgrade --ignore-installed setuptools
安装成功后

再次运行

pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0rc0-cp35-cp35m-win_amd64.whl  
成功安装


使用conda list查看 tensorflow安装成功




0 0