在windows 上安装tensorflow

来源:互联网 发布:网络红猫包子脸猫 编辑:程序博客网 时间:2024/04/28 07:55

Pip installation on Windows
TensorFlow supports only 64-bit Python 3.5 on Windows. We have tested the pip packages with the following distributions of Python:

  • Python 3.5 from Anaconda
  • Python 3.5 from python.org
    在使用第一种方式安装玩anaconda后安装TensorFlow时的时候容易发生问题(按照英文官方网站):
C:\> pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0-cp35-cp35m-win_amd64.whl

问题:

     Cannot remove entries from nonexistent file e:\anaconda3\lib\site-packages\easy-install.pth

解决方式:

    pip install --ignore-installed --upgrade pip setuptools https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0-cp35-cp35m-win_amd64.whl
0 0
原创粉丝点击