민서네집

TensorFlow - Windows에 설치 본문

머신러닝

TensorFlow - Windows에 설치

브라이언7 2016. 12. 1. 14:32

Pip installation on Windows


https://www.tensorflow.org/versions/r0.12/get_started/os_setup.html#pip-installation-on-windows


Anaconda Python 3.5 version 64비트용을 설치한다.


https://www.continuum.io/downloads#windows


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


설치 도중 아래와 같은 에러가 발생하면...


Collecting setuptools (from protobuf==3.1.0->tensorflow==0.12.0rc0)

  Using cached setuptools-29.0.1-py2.py3-none-any.whl

Installing collected packages: setuptools, protobuf, tensorflow

  Found existing installation: setuptools 27.2.0

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


https://github.com/ContinuumIO/anaconda-issues/issues/542


Adding the --ignore-installed option will sucessfully upgrade setuptools and the problem will be solved for the lifetime of that particular conda environment.


아래와 같이 한 후, pip install 로 tensorflow를 다시 설치해주면 된다.


>pip install -U setuptools --ignore-installed



Comments