여러가지/구축 & 설치
[설치] Jupyter CMD 실행 for Mac
15June
2024. 12. 28. 16:45
Step 1. pip 버전 확인
# pip3 --version
Step 2. python3 가상 환경 사용(선택)
# python3 -m venv jupyter
# source jupyter/bin/activate
Step 3. Jupyter 설치 및 실행
# pip3 install notebook
# jupyter notebook (foreground)
# jupyter notebook & (background)
Step 4. 포트 및 IP 변경
※ 기본 포트 8888으로 실행됩니다.
# jupyter notebook --port 8080
# jupyter notebook --ip=0.0.0.0
# jupyter notebook --port 8080 --ip=0.0.0.0
Stpe 5. 종료
(background 실행 시)
# jobs
# kill jobs_number
or
# fg %jobs_number
<control + c>
(foreground 실행 시)
<control + c>