본문 바로가기
기타

[jupyter][anaconda][linux] 주피터 노트북에 아나콘다 환경 추가하기

by Chandler.j 2020. 10. 13.
반응형

fig1. title

주피터 노트북아나콘다 환경 추가하기 in linux

리눅스 기반에서 설정법임


Summary

1. 커널 리스트 확인

2. 아나콘다 환경 생성 및 활성화

3. ipykernel 설치

4. ipykernel 환경설정

5. 커널 리스트 확인

 


1. 커널 리스트 확인

$ jupyter kernelspec list

output

 

fig2. output of first step

2. 아나콘다 환경 생성 및 활성화

$ source activate myenv

 

3. ipykernel 설치

$ python -m pip install ipykernel 

 

4. ipykernel 환경설정

#python3
$ python -m ipykernel install --user --name myenv # install as 'python3'
$ python -m ipykernel install --user --name myenv --display-name "name of kernel"

#python2
$ python -m ipykernel install --user --name name_a # install as python2

5. 커널 리스트 확인

$ jupyter kernelspec list

 

output

fig3. output of final step

 

 

 


TOP

Designed by 티스토리