"윈도우 아나콘다 TensorFlow 설치"의 두 판 사이의 차이

잔글 (봇: Python Anaconda을(를) Anaconda(으)로 분류 대체함)
6번째 줄: 6번째 줄:


==설치==
==설치==
* {{키|Win}} --- 모든 프로그램 --- Anaconda3 (64-bit) --- Anaconda Prompt 실행
* {{키|Win}} --- Anaconda Prompt (anaconda3) 실행
<source lang='dos'>
conda create mypython38 python=3.8
conda activate mypython38
</source>
<source lang='doscon'>
<source lang='doscon'>
(C:\ProgramData\Anaconda3) C:\Users\jmnote>activate root
(mypython38) C:\Users\jmnote>pip install tensorflow
 
(root) C:\Users\jmnote>pip install tensorflow
Collecting tensorflow
Collecting tensorflow
   Downloading tensorflow-1.4.0-cp36-cp36m-win_amd64.whl (28.3MB)
   Downloading tensorflow-2.4.1-cp38-cp38-win_amd64.whl (370.7 MB)
    100% |████████████████████████████████| 28.3MB 630kB/s
    |████████████████████████████████| 370.7 MB 110 kB/s
Collecting protobuf>=3.3.0 (from tensorflow)
Collecting gast==0.3.3
   Downloading protobuf-3.5.1-py2.py3-none-any.whl (388kB)
   Downloading gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
    100% |████████████████████████████████| 389kB 71kB/s
Collecting numpy~=1.19.2
Requirement already satisfied: six>=1.10.0 in c:\users\jmnote\anaconda3\lib\site-packages (from tensorflow)
  Downloading numpy-1.19.5-cp38-cp38-win_amd64.whl (13.3 MB)
Collecting enum34>=1.1.6 (from tensorflow)
    |████████████████████████████████| 13.3 MB 1.7 MB/s
   Downloading enum34-1.1.6-py3-none-any.whl
Requirement already satisfied: wrapt~=1.12.1 in c:\users\jmnote\appdata\roaming\python\python38\site-packages (from tensorflow) (1.12.1)
Collecting tensorflow-tensorboard<0.5.0,>=0.4.0rc1 (from tensorflow)
Collecting google-pasta~=0.2
   Downloading tensorflow_tensorboard-0.4.0rc3-py3-none-any.whl (1.7MB)
   Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
    100% |████████████████████████████████| 1.7MB 880kB/s
    |████████████████████████████████| 57 kB 2.0 MB/s
Requirement already satisfied: wheel>=0.26 in c:\users\jmnote\anaconda3\lib\site-packages (from tensorflow)
Collecting tensorflow-estimator<2.5.0,>=2.4.0
Requirement already satisfied: numpy>=1.12.1 in c:\users\jmnote\anaconda3\lib\site-packages (from tensorflow)
  Downloading tensorflow_estimator-2.4.0-py2.py3-none-any.whl (462 kB)
Requirement already satisfied: setuptools in c:\users\jmnote\anaconda3\lib\site-packages (from protobuf>=3.3.0->tensorflow)
    |████████████████████████████████| 462 kB 3.3 MB/s
Collecting html5lib==0.9999999 (from tensorflow-tensorboard<0.5.0,>=0.4.0rc1->tensorflow)
Collecting keras-preprocessing~=1.1.2
   Downloading html5lib-0.9999999.tar.gz (889kB)
  Downloading Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
    100% |████████████████████████████████| 890kB 937kB/s
    |████████████████████████████████| 42 kB 3.4 MB/s
Collecting bleach==1.5.0 (from tensorflow-tensorboard<0.5.0,>=0.4.0rc1->tensorflow)
Collecting tensorboard~=2.4
   Downloading bleach-1.5.0-py2.py3-none-any.whl
  Downloading tensorboard-2.4.1-py3-none-any.whl (10.6 MB)
Collecting markdown>=2.6.8 (from tensorflow-tensorboard<0.5.0,>=0.4.0rc1->tensorflow)
    |████████████████████████████████| 10.6 MB 6.4 MB/s
   Downloading Markdown-2.6.10.zip (414kB)
Collecting flatbuffers~=1.12.0
    100% |████████████████████████████████| 419kB 920kB/s
   Downloading flatbuffers-1.12-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: werkzeug>=0.11.10 in c:\users\jmnote\anaconda3\lib\site-packages (from tensorflow-tensorboard<0.5.0,>=0.4.0rc1->tensorflow)
Collecting opt-einsum~=3.3.0
Building wheels for collected packages: html5lib, markdown
  Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
   Running setup.py bdist_wheel for html5lib ... done
    |████████████████████████████████| 65 kB 4.5 MB/s
   Stored in directory: C:\Users\jmnote\AppData\Local\pip\Cache\wheels\6f\85\6c\56b8e1292c6214c4eb73b9dda50f53e8e977bf65989373c962
Collecting protobuf>=3.9.2
  Running setup.py bdist_wheel for markdown ... done
  Downloading protobuf-3.15.5-py2.py3-none-any.whl (173 kB)
   Stored in directory: C:\Users\jmnote\AppData\Local\pip\Cache\wheels\1e\5a\55\a80b200d12e234d575ad68c1528593d1ce488720b65b24e48c
    |████████████████████████████████| 173 kB 6.4 MB/s
Successfully built html5lib markdown
Collecting grpcio~=1.32.0
Installing collected packages: protobuf, enum34, html5lib, bleach, markdown, tensorflow-tensorboard, tensorflow
  Downloading grpcio-1.32.0-cp38-cp38-win_amd64.whl (2.6 MB)
  Found existing installation: html5lib 0.999999999
    |████████████████████████████████| 2.6 MB 6.4 MB/s
    Uninstalling html5lib-0.999999999:
Requirement already satisfied: wheel~=0.35 in c:\users\jmnote\anaconda3\envs\mypython38\lib\site-packages (from tensorflow) (0.36.2)
      Successfully uninstalled html5lib-0.999999999
Collecting typing-extensions~=3.7.4
  Found existing installation: bleach 2.0.0
  Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
    Uninstalling bleach-2.0.0:
Collecting h5py~=2.10.0
      Successfully uninstalled bleach-2.0.0
  Downloading h5py-2.10.0-cp38-cp38-win_amd64.whl (2.5 MB)
Successfully installed bleach-1.5.0 enum34-1.1.6 html5lib-0.9999999 markdown-2.6.10 protobuf-3.5.1 tensorflow-1.4.0 tensorflow-tensorboard-0.4.0rc3
    |████████████████████████████████| 2.5 MB 6.4 MB/s
Requirement already satisfied: six~=1.15.0 in c:\users\jmnote\appdata\roaming\python\python38\site-packages (from tensorflow) (1.15.0)
Collecting astunparse~=1.6.3
  Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting termcolor~=1.1.0
  Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting absl-py~=0.10
  Downloading absl_py-0.12.0-py3-none-any.whl (129 kB)
    |████████████████████████████████| 129 kB 3.2 MB/s
Collecting werkzeug>=0.11.15
  Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
    |████████████████████████████████| 298 kB 6.4 MB/s
Requirement already satisfied: setuptools>=41.0.0 in c:\users\jmnote\anaconda3\envs\mypython38\lib\site-packages (from tensorboard~=2.4->tensorflow) (52.0.0.post20210125)
Collecting google-auth<2,>=1.6.3
  Downloading google_auth-1.27.1-py2.py3-none-any.whl (136 kB)
    |████████████████████████████████| 136 kB 6.4 MB/s
Collecting google-auth-oauthlib<0.5,>=0.4.1
  Downloading google_auth_oauthlib-0.4.3-py2.py3-none-any.whl (18 kB)
Collecting requests<3,>=2.21.0
  Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
    |████████████████████████████████| 61 kB 4.0 MB/s
Collecting tensorboard-plugin-wit>=1.6.0
  Downloading tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB)
    |████████████████████████████████| 781 kB 6.4 MB/s
Collecting markdown>=2.6.8
   Downloading Markdown-3.3.4-py3-none-any.whl (97 kB)
    |████████████████████████████████| 97 kB 2.2 MB/s
Collecting pyasn1-modules>=0.2.1
  Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
    |████████████████████████████████| 155 kB 3.3 MB/s
Collecting rsa<5,>=3.1.4
  Downloading rsa-4.7.2-py3-none-any.whl (34 kB)
Collecting cachetools<5.0,>=2.0.0
  Downloading cachetools-4.2.1-py3-none-any.whl (12 kB)
Collecting requests-oauthlib>=0.7.0
   Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting pyasn1<0.5.0,>=0.4.6
  Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
    |████████████████████████████████| 77 kB 2.6 MB/s
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.3-py2.py3-none-any.whl (137 kB)
    |████████████████████████████████| 137 kB 6.4 MB/s
Collecting chardet<5,>=3.0.2
  Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
    |████████████████████████████████| 178 kB 6.4 MB/s
Collecting idna<3,>=2.5
   Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
    |████████████████████████████████| 58 kB 3.8 MB/s
Requirement already satisfied: certifi>=2017.4.17 in c:\users\jmnote\anaconda3\envs\mypython38\lib\site-packages (from requests<3,>=2.21.0->tensorboard~=2.4->tensorflow) (2020.12.5)
Collecting oauthlib>=3.0.0
  Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
    |████████████████████████████████| 147 kB 6.4 MB/s
Building wheels for collected packages: termcolor
   Building wheel for termcolor (setup.py) ... done
   Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4829 sha256=ee6b921c9bbe4fc8a241963b683d68917b389258b74e54dc6225d29137c77556
   Stored in directory: c:\users\jmnote\appdata\local\pip\cache\wheels\a0\16\9c\5473df82468f958445479c59e784896fa24f4a5fc024b0f501
Successfully built termcolor
Installing collected packages: urllib3, pyasn1, idna, chardet, rsa, requests, pyasn1-modules, oauthlib, cachetools, requests-oauthlib, google-auth, werkzeug, tensorboard-plugin-wit, protobuf, numpy, markdown, grpcio, google-auth-oauthlib, absl-py, typing-extensions, termcolor, tensorflow-estimator, tensorboard, opt-einsum, keras-preprocessing, h5py, google-pasta, gast, flatbuffers, astunparse, tensorflow
Successfully installed absl-py-0.12.0 astunparse-1.6.3 cachetools-4.2.1 chardet-4.0.0 flatbuffers-1.12 gast-0.3.3 google-auth-1.27.1 google-auth-oauthlib-0.4.3 google-pasta-0.2.0 grpcio-1.32.0 h5py-2.10.0 idna-2.10 keras-preprocessing-1.1.2 markdown-3.3.4 numpy-1.19.5 oauthlib-3.1.0 opt-einsum-3.3.0 protobuf-3.15.5 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.25.1 requests-oauthlib-1.3.0 rsa-4.7.2 tensorboard-2.4.1 tensorboard-plugin-wit-1.8.0 tensorflow-2.4.1 tensorflow-estimator-2.4.0 termcolor-1.1.0 typing-extensions-3.7.4.3 urllib3-1.26.3 werkzeug-1.0.1
</source>
</source>
<source lang='doscon'>
<source lang='doscon'>
(root) C:\Users\jmnote>pip list --format=columns | findstr tensorflow
(mypython38) C:\Users\jmnote>pip list --format=columns | findstr tensorflow
tensorflow                         1.4.0
tensorflow             2.4.1
tensorflow-tensorboard            0.4.0rc3
tensorflow-estimator  2.4.0
</source>
</source>



2021년 3월 11일 (목) 01:49 판

윈도우 아나콘다 TensorFlow 설치
윈도우 아나콘다 텐서플로우 설치

1 사전작업

2 설치

  • Win --- Anaconda Prompt (anaconda3) 실행
conda create mypython38 python=3.8
conda activate mypython38
(mypython38) C:\Users\jmnote>pip install tensorflow
Collecting tensorflow
  Downloading tensorflow-2.4.1-cp38-cp38-win_amd64.whl (370.7 MB)
     |████████████████████████████████| 370.7 MB 110 kB/s
Collecting gast==0.3.3
  Downloading gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
Collecting numpy~=1.19.2
  Downloading numpy-1.19.5-cp38-cp38-win_amd64.whl (13.3 MB)
     |████████████████████████████████| 13.3 MB 1.7 MB/s
Requirement already satisfied: wrapt~=1.12.1 in c:\users\jmnote\appdata\roaming\python\python38\site-packages (from tensorflow) (1.12.1)
Collecting google-pasta~=0.2
  Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
     |████████████████████████████████| 57 kB 2.0 MB/s
Collecting tensorflow-estimator<2.5.0,>=2.4.0
  Downloading tensorflow_estimator-2.4.0-py2.py3-none-any.whl (462 kB)
     |████████████████████████████████| 462 kB 3.3 MB/s
Collecting keras-preprocessing~=1.1.2
  Downloading Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
     |████████████████████████████████| 42 kB 3.4 MB/s
Collecting tensorboard~=2.4
  Downloading tensorboard-2.4.1-py3-none-any.whl (10.6 MB)
     |████████████████████████████████| 10.6 MB 6.4 MB/s
Collecting flatbuffers~=1.12.0
  Downloading flatbuffers-1.12-py2.py3-none-any.whl (15 kB)
Collecting opt-einsum~=3.3.0
  Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
     |████████████████████████████████| 65 kB 4.5 MB/s
Collecting protobuf>=3.9.2
  Downloading protobuf-3.15.5-py2.py3-none-any.whl (173 kB)
     |████████████████████████████████| 173 kB 6.4 MB/s
Collecting grpcio~=1.32.0
  Downloading grpcio-1.32.0-cp38-cp38-win_amd64.whl (2.6 MB)
     |████████████████████████████████| 2.6 MB 6.4 MB/s
Requirement already satisfied: wheel~=0.35 in c:\users\jmnote\anaconda3\envs\mypython38\lib\site-packages (from tensorflow) (0.36.2)
Collecting typing-extensions~=3.7.4
  Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Collecting h5py~=2.10.0
  Downloading h5py-2.10.0-cp38-cp38-win_amd64.whl (2.5 MB)
     |████████████████████████████████| 2.5 MB 6.4 MB/s
Requirement already satisfied: six~=1.15.0 in c:\users\jmnote\appdata\roaming\python\python38\site-packages (from tensorflow) (1.15.0)
Collecting astunparse~=1.6.3
  Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting termcolor~=1.1.0
  Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting absl-py~=0.10
  Downloading absl_py-0.12.0-py3-none-any.whl (129 kB)
     |████████████████████████████████| 129 kB 3.2 MB/s
Collecting werkzeug>=0.11.15
  Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
     |████████████████████████████████| 298 kB 6.4 MB/s
Requirement already satisfied: setuptools>=41.0.0 in c:\users\jmnote\anaconda3\envs\mypython38\lib\site-packages (from tensorboard~=2.4->tensorflow) (52.0.0.post20210125)
Collecting google-auth<2,>=1.6.3
  Downloading google_auth-1.27.1-py2.py3-none-any.whl (136 kB)
     |████████████████████████████████| 136 kB 6.4 MB/s
Collecting google-auth-oauthlib<0.5,>=0.4.1
  Downloading google_auth_oauthlib-0.4.3-py2.py3-none-any.whl (18 kB)
Collecting requests<3,>=2.21.0
  Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
     |████████████████████████████████| 61 kB 4.0 MB/s
Collecting tensorboard-plugin-wit>=1.6.0
  Downloading tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB)
     |████████████████████████████████| 781 kB 6.4 MB/s
Collecting markdown>=2.6.8
  Downloading Markdown-3.3.4-py3-none-any.whl (97 kB)
     |████████████████████████████████| 97 kB 2.2 MB/s
Collecting pyasn1-modules>=0.2.1
  Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
     |████████████████████████████████| 155 kB 3.3 MB/s
Collecting rsa<5,>=3.1.4
  Downloading rsa-4.7.2-py3-none-any.whl (34 kB)
Collecting cachetools<5.0,>=2.0.0
  Downloading cachetools-4.2.1-py3-none-any.whl (12 kB)
Collecting requests-oauthlib>=0.7.0
  Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting pyasn1<0.5.0,>=0.4.6
  Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
     |████████████████████████████████| 77 kB 2.6 MB/s
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.3-py2.py3-none-any.whl (137 kB)
     |████████████████████████████████| 137 kB 6.4 MB/s
Collecting chardet<5,>=3.0.2
  Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
     |████████████████████████████████| 178 kB 6.4 MB/s
Collecting idna<3,>=2.5
  Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
     |████████████████████████████████| 58 kB 3.8 MB/s
Requirement already satisfied: certifi>=2017.4.17 in c:\users\jmnote\anaconda3\envs\mypython38\lib\site-packages (from requests<3,>=2.21.0->tensorboard~=2.4->tensorflow) (2020.12.5)
Collecting oauthlib>=3.0.0
  Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
     |████████████████████████████████| 147 kB 6.4 MB/s
Building wheels for collected packages: termcolor
  Building wheel for termcolor (setup.py) ... done
  Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4829 sha256=ee6b921c9bbe4fc8a241963b683d68917b389258b74e54dc6225d29137c77556
  Stored in directory: c:\users\jmnote\appdata\local\pip\cache\wheels\a0\16\9c\5473df82468f958445479c59e784896fa24f4a5fc024b0f501
Successfully built termcolor
Installing collected packages: urllib3, pyasn1, idna, chardet, rsa, requests, pyasn1-modules, oauthlib, cachetools, requests-oauthlib, google-auth, werkzeug, tensorboard-plugin-wit, protobuf, numpy, markdown, grpcio, google-auth-oauthlib, absl-py, typing-extensions, termcolor, tensorflow-estimator, tensorboard, opt-einsum, keras-preprocessing, h5py, google-pasta, gast, flatbuffers, astunparse, tensorflow
Successfully installed absl-py-0.12.0 astunparse-1.6.3 cachetools-4.2.1 chardet-4.0.0 flatbuffers-1.12 gast-0.3.3 google-auth-1.27.1 google-auth-oauthlib-0.4.3 google-pasta-0.2.0 grpcio-1.32.0 h5py-2.10.0 idna-2.10 keras-preprocessing-1.1.2 markdown-3.3.4 numpy-1.19.5 oauthlib-3.1.0 opt-einsum-3.3.0 protobuf-3.15.5 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.25.1 requests-oauthlib-1.3.0 rsa-4.7.2 tensorboard-2.4.1 tensorboard-plugin-wit-1.8.0 tensorflow-2.4.1 tensorflow-estimator-2.4.0 termcolor-1.1.0 typing-extensions-3.7.4.3 urllib3-1.26.3 werkzeug-1.0.1
(mypython38) C:\Users\jmnote>pip list --format=columns | findstr tensorflow
tensorflow             2.4.1
tensorflow-estimator   2.4.0

3 같이 보기

4 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}