내가 보려고 기록하는것

jupyter notebook 설치하기(윈도우, 우분투)

디리릭 2022. 10. 18. 20:19
728x90

윈도우와 우분투에서 jupyter notebook을 설치했다. 

 

1. 윈도우 

아나콘다를 사이트에서  다운받아 설치한다. 

https://www.anaconda.com/

 

Anaconda | The World's Most Popular Data Science Platform

Anaconda is the birthplace of Python data science. We are a movement of data scientists, data-driven enterprises, and open source communities.

www.anaconda.com

 

 

설치 파일을 실행 하면 jupyter notebook도 같이 깔린다. 

 

 

노트북을 실행하면 웹 브라우저가 새로 뜨면(http://localhost:8888/tree) 노트북을 만들어 사용할 수 있다. 

 

새로 노트북을 생성해보자

 

 

 

 

 

2. 우분투로 설치하기 

 

//python 설치
$sudo apt install python3-pip

//jupyter 설치
$pip3 install jupyter

//core도 설치하라고 해서 설치함 
$sudo apt install jupyter-core

//버전 확인
$jupyter --version

//노트북 열기
jupyter notebook // 안됨 ... 

//구글링 해보니 아래처럼 해보라고 함 
 ~/.local/bin/jupyter-notebook

브라우저로 노트북이 뜸 

728x90