728x90

새 노트북에 tensorflow, cuda 등등 설치하다가 버전 문제로 고생해서 기록 남김.

1. anaconda 설치

2. cuda 11.2 설치

3. cudnn 8.1.1 설치

4. jupyter notebook --generate-config 해서 notebook_dir 변경.

5. python -m pip install --upgrade pip 

6. conda create -n py39_tf214 python=3.9 (tensorflow 2.14가 python 3.6~3.9만 지원)

7. activate py39_tf214

8. pip install jupyter notebook

9. python -m ipykernel install --user --name py39_tf214 --display-name "py39_tf214" (jupyter notebook에 커널 연결)

10. conda install pytorch torchvision -c pytorch 

11. pip install chardet

12. pip install -U --force-reinstall charset-normalizer

13. pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

14. pip install tensorflow-gpu==2.10.0

https://www.tensorflow.org/install/source_windows?hl=ko

 

Windows의 소스에서 빌드,Windows의 소스에서 빌드  |  TensorFlow

이 페이지는 Cloud Translation API를 통해 번역되었습니다. Windows의 소스에서 빌드,Windows의 소스에서 빌드 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. 소스에

www.tensorflow.org

 

(py39_tf214) C:\Users\kasiw>pip list
Package                      Version
---------------------------- ---------------
absl-py                      2.1.0
accelerate                   0.28.0.dev0
anyio                        4.3.0
argon2-cffi                  23.1.0
argon2-cffi-bindings         21.2.0
arrow                        1.3.0
asttokens                    2.4.1
astunparse                   1.6.3
async-lru                    2.0.4
attrs                        23.2.0
Babel                        2.14.0
beautifulsoup4               4.12.3
bitsandbytes                 0.42.0
bleach                       6.1.0
Brotli                       1.0.9
cachetools                   5.3.3
certifi                      2024.2.2
cffi                         1.16.0
chardet                      5.2.0
charset-normalizer           3.3.2
colorama                     0.4.6
comm                         0.2.1
debugpy                      1.8.1
decorator                    5.1.1
defusedxml                   0.7.1
exceptiongroup               1.2.0
executing                    2.0.1
fastjsonschema               2.19.1
filelock                     3.13.1
flatbuffers                  23.5.26
fqdn                         1.5.1
fsspec                       2024.2.0
gast                         0.4.0
gmpy2                        2.1.2
google-auth                  2.28.1
google-auth-oauthlib         0.4.6
google-pasta                 0.2.0
grpcio                       1.62.0
h11                          0.14.0
h5py                         3.10.0
httpcore                     1.0.4
httpx                        0.27.0
huggingface-hub              0.21.3
idna                         3.4
importlib-metadata           7.0.1
ipykernel                    6.29.3
ipython                      8.18.1
ipywidgets                   8.1.2
isoduration                  20.11.0
jedi                         0.19.1
Jinja2                       3.1.3
json5                        0.9.19
jsonpointer                  2.4
jsonschema                   4.21.1
jsonschema-specifications    2023.12.1
jupyter                      1.0.0
jupyter_client               8.6.0
jupyter-console              6.6.3
jupyter_core                 5.7.1
jupyter-events               0.9.0
jupyter-lsp                  2.2.3
jupyter_server               2.12.5
jupyter_server_terminals     0.5.2
jupyterlab                   4.1.2
jupyterlab_pygments          0.3.0
jupyterlab_server            2.25.3
jupyterlab_widgets           3.0.10
keras                        2.10.0
Keras-Preprocessing          1.1.2
libclang                     16.0.6
Markdown                     3.5.2
MarkupSafe                   2.1.3
matplotlib-inline            0.1.6
mistune                      3.0.2
mkl-fft                      1.3.8
mkl-random                   1.2.4
mkl-service                  2.4.0
ml-dtypes                    0.2.0
mpmath                       1.3.0
nbclient                     0.9.0
nbconvert                    7.16.1
nbformat                     5.9.2
nest-asyncio                 1.6.0
networkx                     3.1
notebook                     7.1.1
notebook_shim                0.2.4
numpy                        1.26.4
oauthlib                     3.2.2
opt-einsum                   3.3.0
overrides                    7.7.0
packaging                    23.2
pandocfilters                1.5.1
parso                        0.8.3
peft                         0.9.1.dev0
pillow                       10.2.0
pip                          23.3.1
platformdirs                 4.2.0
prometheus_client            0.20.0
prompt-toolkit               3.0.43
protobuf                     3.19.6
psutil                       5.9.8
pure-eval                    0.2.2
pyasn1                       0.5.1
pyasn1-modules               0.3.0
pycparser                    2.21
Pygments                     2.17.2
PySocks                      1.7.1
python-dateutil              2.9.0.post0
python-json-logger           2.0.7
pywin32                      306
pywinpty                     2.0.13
PyYAML                       6.0.1
pyzmq                        25.1.2
qtconsole                    5.5.1
QtPy                         2.4.1
referencing                  0.33.0
regex                        2023.12.25
requests                     2.31.0
requests-oauthlib            1.3.1
rfc3339-validator            0.1.4
rfc3986-validator            0.1.1
rpds-py                      0.18.0
rsa                          4.9
safetensors                  0.4.2
scipy                        1.12.0
Send2Trash                   1.8.2
setuptools                   68.2.2
six                          1.16.0
sniffio                      1.3.1
soupsieve                    2.5
stack-data                   0.6.3
sympy                        1.12
tensorboard                  2.10.1
tensorboard-data-server      0.6.1
tensorboard-plugin-wit       1.8.1
tensorflow                   2.14.0
tensorflow-estimator         2.10.0
tensorflow-gpu               2.10.0
tensorflow-intel             2.14.0
tensorflow-io-gcs-filesystem 0.31.0
termcolor                    2.4.0
terminado                    0.18.0
tinycss2                     1.2.1
tokenizers                   0.15.2
tomli                        2.0.1
torch                        2.2.1+cu121
torchaudio                   2.2.1+cu121
torchvision                  0.17.1
tornado                      6.4
tqdm                         4.66.2
traitlets                    5.14.1
transformers                 4.35.2
types-python-dateutil        2.8.19.20240106
typing_extensions            4.10.0
uri-template                 1.3.0
urllib3                      2.1.0
wcwidth                      0.2.13
webcolors                    1.13
webencodings                 0.5.1
websocket-client             1.7.0
Werkzeug                     3.0.1
wheel                        0.41.2
widgetsnbextension           4.0.10
win-inet-pton                1.1.0
wrapt                        1.14.1
zipp                         3.17.0

728x90

+ Recent posts