TensorFlow - install

CODEDRAGON Development/Python

반응형



 

 

 

TensorFlow - install

 

 

 

pip 위치로 이동

파이썬이 설치된 폴더 하위에 Scripts 폴더에 위치해 있습니다.

C:\Python\Python36-32\Scripts

 

cd C:\Python\Python36-32\Scripts

or

cd %PYTHONHOME%\Scripts

C:\CodeLab>cd C:\Python\Python36-32\Scripts

 

C:\Python\Python36-32\Scripts>

 

 

 

 

TensorFlow 설치

TensorFlow pip을 사용하여 아래와 같이 간단히 설치할 수 있습니다.

pip install TensorFlow

C:\Python\Python36\Scripts>pip install TensorFlow

Collecting TensorFlow

  Downloading https://files.pythonhosted.org/packages/f4/88/980d7032b7408fcca5b0b8d420fcd97919197a9e7acf280ab74fc7db6993/tensorflow-1.8.0-cp36-cp36m-win_amd64.whl (34.4MB)

    100% |████████████████████████████████| 34.4MB 465kB/s

Collecting grpcio>=1.8.6 (from TensorFlow)

  Downloading https://files.pythonhosted.org/packages/5d/8b/104918993129d6c919a16826e6adcfa4a106c791da79fb9655c5b22ad9ff/grpcio-1.12.1-cp36-cp36m-win_amd64.whl (1.4MB)

    100% |████████████████████████████████| 1.4MB 4.9MB/s

Collecting protobuf>=3.4.0 (from TensorFlow)

  Downloading https://files.pythonhosted.org/packages/32/cf/6945106da76db9b62d11b429aa4e062817523bb587018374c77f4b63200e/protobuf-3.5.2.post1-cp36-cp36m-win_amd64.whl (958kB)

    100% |████████████████████████████████| 962kB 5.1MB/s

Collecting six>=1.10.0 (from TensorFlow)

  Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl

Collecting absl-py>=0.1.6 (from TensorFlow)

  Downloading https://files.pythonhosted.org/packages/57/8d/6664518f9b6ced0aa41cf50b989740909261d4c212557400c48e5cda0804/absl-py-0.2.2.tar.gz (82kB)

    100% |████████████████████████████████| 92kB 4.4MB/s

Collecting wheel>=0.26 (from TensorFlow)

  Downloading https://files.pythonhosted.org/packages/81/30/e935244ca6165187ae8be876b6316ae201b71485538ffac1d718843025a9/wheel-0.31.1-py2.py3-none-any.whl (41kB)

    100% |████████████████████████████████| 51kB 3.9MB/s

Collecting numpy>=1.13.3 (from TensorFlow)

  Downloading https://files.pythonhosted.org/packages/af/e4/7d7107bdfb5c33f6cf33cdafea8c27d1209cf0068a6e3e3d3342be6f3578/numpy-1.14.3-cp36-none-win_amd64.whl (13.4MB)

    100% |████████████████████████████████| 13.4MB 2.2MB/s

Collecting gast>=0.2.0 (from TensorFlow)

  Downloading https://files.pythonhosted.org/packages/5c/78/ff794fcae2ce8aa6323e789d1f8b3b7765f601e7702726f430e814822b96/gast-0.2.0.tar.gz

Collecting termcolor>=1.1.0 (from TensorFlow)

  Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz

Collecting tensorboard<1.9.0,>=1.8.0 (from TensorFlow)

  Downloading https://files.pythonhosted.org/packages/59/a6/0ae6092b7542cfedba6b2a1c9b8dceaf278238c39484f3ba03b03f07803c/tensorboard-1.8.0-py3-none-any.whl (3.1MB)

    100% |████████████████████████████████| 3.1MB 4.3MB/s

Collecting astor>=0.6.0 (from TensorFlow)

  Downloading https://files.pythonhosted.org/packages/b2/91/cc9805f1ff7b49f620136b3a7ca26f6a1be2ed424606804b0fbcf499f712/astor-0.6.2-py2.py3-none-any.whl

Requirement already satisfied: setuptools in c:\python\python36\lib\site-packages (from protobuf>=3.4.0->TensorFlow) (39.0.1)

Collecting markdown>=2.6.8 (from tensorboard<1.9.0,>=1.8.0->TensorFlow)

  Downloading https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl (78kB)

    100% |████████████████████████████████| 81kB 4.6MB/s

Collecting werkzeug>=0.11.10 (from tensorboard<1.9.0,>=1.8.0->TensorFlow)

  Downloading https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)

    100% |████████████████████████████████| 327kB 406kB/s

Collecting bleach==1.5.0 (from tensorboard<1.9.0,>=1.8.0->TensorFlow)

  Downloading https://files.pythonhosted.org/packages/33/70/86c5fec937ea4964184d4d6c4f0b9551564f821e1c3575907639036d9b90/bleach-1.5.0-py2.py3-none-any.whl

Collecting html5lib==0.9999999 (from tensorboard<1.9.0,>=1.8.0->TensorFlow)

  Downloading https://files.pythonhosted.org/packages/ae/ae/bcb60402c60932b32dfaf19bb53870b29eda2cd17551ba5639219fb5ebf9/html5lib-0.9999999.tar.gz (889kB)

    100% |████████████████████████████████| 890kB 5.4MB/s

Installing collected packages: six, grpcio, protobuf, absl-py, wheel, numpy, gast, termcolor, markdown, werkzeug, html5lib, bleach, tensorboard, astor, TensorFlow

  Running setup.py install for absl-py ... done

  The script wheel.exe is installed in 'C:\Python\Python36\Scripts' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

  Running setup.py install for gast ... done

  Running setup.py install for termcolor ... done

  The script markdown_py.exe is installed in 'C:\Python\Python36\Scripts' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

  Running setup.py install for html5lib ... done

  The script tensorboard.exe is installed in 'C:\Python\Python36\Scripts' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

  The scripts freeze_graph.exe, saved_model_cli.exe, tensorboard.exe, toco.exe and toco_from_protos.exe are installed in 'C:\Python\Python36\Scripts' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Successfully installed TensorFlow-1.8.0 absl-py-0.2.2 astor-0.6.2 bleach-1.5.0 gast-0.2.0 grpcio-1.12.1 html5lib-0.9999999 markdown-2.6.11 numpy-1.14.3 protobuf-3.5.2.post1 six-1.11.0 tensorboard-1.8.0 termcolor-1.1.0 werkzeug-0.14.1 wheel-0.31.1

 

C:\Python\Python36\Scripts>

 

 

 


'Development > Python' 카테고리의 다른 글

!  (0) 2020.01.15
cor()  (0) 2020.01.15
할당된 메모리 공간 확인하기  (0) 2020.01.14
잘못된 식별자  (0) 2020.01.14
파이썬 식별자(identifier), 식별자 생성 규칙(조건)  (0) 2020.01.14