# sudo apt install python3-testresources
# sudo apt install libxcb-xinerama0
# python3 -m pip install --user --upgrade pip setuptools wheel packaging requests opt_einsum
# python3 -m pip install --user --upgrade keras_preprocessing --no-deps
# python3 -m pip install --user --upgrade numpy scipy matplotlib ipython h5py jupyter spyder pandas sympy nose
# python3 -m pip install --user --upgrade scikit-learn ipyparallel pydot pydotplus pydot_ng graphviz
# sudo apt install graphviz
# echo 'export PATH=$PATH:'$(python3 -c 'import site; print(site.USER_BASE)')'/bin' >> ~/.bash_profile
# source ~/.bash_profile
# python3 -m pip freeze --user > requirements.txt
(상기 설치 내역 한번에 재설치시 # python -m pip install --user -r requirements.txt 실행)
아래는 TensorFlow 설치
# python3 -m pip install --user --upgrade tensorflow
# python3 -m pip install --user --upgrade tensorflow_datasets
# python3 -m pip install --user --upgrade tensorflow-text
# python3 -m pip install --user --upgrade tensorboard
# python3 -m pip install --user --upgrade onnx
# python3 -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
참고: https://testtube.tistory.com/68
[Ubuntu 20.04] Python3 Installation
# sudo apt update # sudo apt install python3-dev python3-pip python3-venv https://testtube.tistory.com/entry/Ubuntu-1804-IDLE-Python-IDE-Installation [Ubuntu 18.04] IDLE Python IDE Installation for Python 3: # sudo apt-get update # sudo apt-get install idl
testtube.tistory.com
https://www.lesstif.com/python/python-pip-user-mode-95879683.html
python pip 를 user mode 로 사용하기
다음 alias 구문으로 해도 되지 않냐고 생각할 수 있지만 alias 는 parameter expand 가 제대로 안 되서 "no such option: --user" 오류가 발생합니다.
www.lesstif.com
1.4 필수 라이브러리와 도구들
1.3 scikit-learn | 목차 | 1.5 파이썬 2 vs. 파이썬 3 – scikit-learn이 무엇이고 어떻게 사용하는지 아는 것이 중요하지만, 그 전에 꼭 알아둬야 할 중요한 라이브러리들이 있습니다. scikit-learn은 파이썬
tensorflow.blog
https://packaging.python.org/en/latest/tutorials/installing-packages/
Installing Packages — Python Packaging User Guide
Installing Packages This section covers the basics of how to install Python packages. It’s important to note that the term “package” in this context is being used to describe a bundle of software to be installed (i.e. as a synonym for a distribution)
packaging.python.org
1.1 Python 설치와 구동
### 1.1.1 설치 Python은 [www.python.org](https://www.python.org)에서 관리하며 표준 배포본을 제공하고 있다. 실제 Python 사용…
wikidocs.net
'Programming > Python' 카테고리의 다른 글
[Python] TensorFlow(2.13) Installation (Ubuntu, Nvidia GPU, + PyTorch) (0) | 2023.07.26 |
---|---|
[Python] Jupyter Notebook Remote Configuration (0) | 2023.01.31 |
[Python] TensorFlow(2.11) Installation (Ubuntu, Nvidia GPU, + PyTorch) (1) | 2022.11.10 |
[Python] TensorRT Installation(tar file) (0) | 2022.10.31 |
[Python] 파일 입출력 예시 (0) | 2022.08.17 |