2023년 June 21일
  1. AI 트레이닝 센터
  2. Python
  3. WSL2/Ubuntu 22.04 LTS에서 Jupyter notebook 실행하기

WSL2/Ubuntu 22.04 LTS에서 Jupyter notebook 실행하기

WSL2 Ubuntu에서 Jupyter notebook(Jupyter Lab) 설치는 다음과 같습니다.

$ pip install jupyter
$ pip install jupyterlab

단, 다음 명령어를 실행 할 때 문제가 됩니다.

$ jupyter notebook

WSL2/Ubuntu에서 Jupyter notebook(Jupyter Lab)을 사용하기 위해 config 파일을 수정합니다.

$ jupyter lab --generate-config
$ vi .jupyter/jupyter_lab_config.py

다음과 같이 c.NotebookApp.open_browser 설정을 False를 True로 변경합니다.

변경 전

c.NotebookApp.open_browser = False

변경 후

c.NotebookApp.open_browser = True

콘솔에서 다음 명령어를 실행합니다.

$ jupyter notebook

위와 같은 출력을 보면 정상 동작하는 것입니다.

Leave a Reply

Your email address will not be published. Required fields are marked *

연관 글
BCT NEWS
인기 글
워드프레스 유지보수
워드프레스 제작 팁
클라우드
워드프레스 유지보수