[도커:Docker] 딥러닝 개발환경 구축
cuda
•python 설치 전
•apt-get update
•apt-get dist-upgrade
•apt-get install build-essential python-dev python-setuptools python-pip python-smbus
•apt-get install libncursesw5-dev libgdbm-dev libc6-dev
•apt-get install zlib1g-dev libsqlite3-dev tk-dev
•apt-get install libssl-dev openssl
•apt-get install libffi-dev
파이썬 2.7 버전 설치 완료
apt-get install python3.7 => apt 에 3.6까지밖에 안 올라가 있음. -=> 3.6.9가 설치
https://codechacha.com/ko/change-python-version/
Ubuntu에서 Python 버전을 변경하는 방법
우분투를 설치하면 파이선2.7이 설치되어있습니다. 리눅스의 Alternatives를 이용하면 python 버전을 쉽게 변경하고 관리할 수 있습니다. 우분투에 파이썬2.7과 파이썬3.5 버전을 모두 설치하고, 특정 �
codechacha.com
apt-get install gcc git wget nano gedit dbus-x11
로 update-alternatives 로 파이썬 버전 관리
and push into docker hub /
추후 추가해야 하는 사항 .
python3.7-dev 설치 / python3.7-tk 설치
전체 모두 다시 /
cuda10.1, cudnn 7 버전 설치 된 docker 실행
내부에 anaconda 설치 / 새로운 환경 : python 3.7
현재 이 상태로 commit 함.
이후
apt-get update
apt-get install build-essential gcc git wget nano gedit dbus-x11
pip install --upgrade pip
pip install tensorflow-gpu
pip install keras
pip install imgaug cython
pip install jupyter
pip install "git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI"