[Jupyter/Python] How to use multi-kernel in jupyter notebook
1) make kernel spec
ipython kernelspec install-self --user
2) move to kernel spce
cd /home/[user name]/.local/share/jupyter/kernels
ls
3) choose kernel
cd python3
or
cd python2
ls
4) find out kernel.json and open this file
vi kernel.json
5) contents of kernel.json
{
"_comment": "red is display name to jupyter notebook, blue is language type, green is interpreter(address or command)",
"display_name": "Python 3",
"language": "python",
"argv": [
"/home/[user name]/anaconda3/bin/python",
"-m",
"ipykernel_launcher",
"-f",
"{connection_file}"
]
}
'OS > Linux&Ubuntu' 카테고리의 다른 글
캡쳐 (0) | 2020.06.23 |
---|---|
[Jupyter/Python] How to change default python version (0) | 2020.02.15 |
[Linux/Ubuntu] apt-get 패키지 다운로드 서버(sources.list) 변경 (2) | 2019.12.01 |
[Linux/Ubuntu] 우분투 18.04 한글 설정! (12) | 2019.11.30 |
[Linux] 우분투 설치 후 nvidia 그래픽 카드 드라이버 설정 (0) | 2019.11.29 |