0

두 부분으로 된 질문은 어느 부분에서 도움을 주시면 감사하겠습니다. AWS EB에서 numbapro를 입력 한 다음 Anaconda를 설치하려고합니다. .ebextensions 나의 options.config은 다음과 같습니다 : 나는 시간 초과로 실행이를 배포하려고 내가 시도하고 수동으로 콘솔에서 현재 프로세스를 중지 할 때 내가 말하는 오류가 발생 할 때마다AWS 작업 중단/numbapro로 Anaconda 설치

commands: 
00_download_conda: 
command: 'wget http://repo.continuum.io/archive/Anaconda2-4.3.0-Linux-x86_64.sh' 
test: test ! -d /anaconda 
01_install_conda: 
command: 'bash Anaconda2-4.3.0-Linux-x86_64.sh' 
command: echo 'Finished installing Anaconda' 
test: test ! -d /anaconda 
02_install_cuda: 
command: 'export PATH=$PATH:$HOME/anaconda2/bin' 
command: echo 'About to install numbapro' 
command: 'conda install -c anaconda numbapro' 

그 환경 현재 작업을 중단하거나 로그 파일을 볼 수있는 상태가 아닙니다.

답변

0

여기에 몇 가지 문제가 있습니다.

먼저 YAML은 공백에 민감하므로 YAML 파일을 들여 쓰기해야합니다. 파일은 다음과 같아야합니다.

commands: 
    00_download_conda: 
    command: 'wget http://repo.continuum.io/archive/Anaconda2-4.3.0-Linux-x86_64.sh' 
    test: test ! -d /anaconda 
    01_install_conda: 
    command: 'bash Anaconda2-4.3.0-Linux-x86_64.sh' 
    ... 

다음은 명령어 당 하나의 command: 항목 만 가질 수 있습니다. echo 명령은 /var/log/eb-activity.log을보고 실행중인 명령을 볼 수 있으므로 특히 중요하지 않습니다. 당신은 여전히 ​​명확까지 해당 항목에 체크 한 후 문제가 발생하는 경우

PATH=$PATH:$HOME/anaconda2/bin conda install -c anaconda numbapro 

(또는 여기에 게시)에 무슨 일이 일어나고 있는지 볼 수 eb-activity.log을 : 당신은 또한이 같은 conda install 뭔가로 export PATH 라인을 결합 할 수 있습니다.

자세한 내용은 the documentation을 참조하십시오.