-
Notifications
You must be signed in to change notification settings - Fork 101
Linux(Ubuntu) 설치 가이드
Hyeokryeol Yang edited this page Apr 4, 2020
·
5 revisions
아래의 설치가이드는 Ubuntu 16.04 버젼에서 테스트하였습니다.
- 아래의 명령어로 아나콘다 설치파일을 다운로드합니다
$ wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
- 아나콘다의 설치파일을 다운로드 하고 나면 다음 명령어로 아나콘다를 설치합니다. 설치 과정 중에 나오는 물음에는 모두 yes 를 입력하면 됩니다.
$ sh Anaconda3-2020.02-Linux-x86_64.sh
- 아나콘다의 설치를 마친 후에는 다음 명령어를 통해 설치과정에서 변경된 환경 변수를 적용해줍니다.
$ source ~/.bashrc
- 설치된 아나콘다를 통해
keras_rl이라는 이름의 새로운 가상환경을 생성합니다.
$ conda create -n keras_rl python=3.6
- 아래의 명령어를 통해 방금 생성한 가상환경
keras_rl을 활성화합니다.
$ source activate keras_rl
- 가상환경
keras_rl이 활성화 된 상태에서 pip 를 통해 텐서플로우 2.1.0 버전을 설치합니다.
$ pip install --upgrade pip
$ pip install -r requirements.txt
$ pip install gym[atari]