m1 아나콘다anaconda / 주피터 노트북 jupyter notebook (feat.homebrew)

❍ 개발환경

terminal

homebrew install

brew list

brew search anaconda

brew --cask anaconda

brew search python (파이썬 버전 확인) brew install python@<version>

pip3 install jupyter

jupyter notebook

 

 

 

brew 다운로드

 

Homebrew

The Missing Package Manager for macOS (or Linux).

brew.sh

 

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

 

brew cask install

ㅋㅋㅋㅋ 귀여운 맥주 이모티콘...

환경변수 셋팅하기

export PATH="/usr/local/anaconda3/bin:$PATH"

 

 

towardsdatascience.com/how-to-run-jupyter-notebooks-on-an-apple-m1-mac-ac3a8bf39c6c

 

How to Run Jupyter Notebooks on an Apple M1 Mac

Here we’ll walk through how to get Jupyter on your M1 — starting with the download step and ending with a fully operational notebook.

towardsdatascience.com

 

Step1: cmd+Space 눌러서 터미널로 들어가기

Step2: 터미널창에 입력

jupyter notebook

나는 안깔려 있었으므로 당연히 이런 에러가 뜬다

 Step3: 파이썬이 설치되어있는지 확인

터미널에 python3 입력

Step 4: exit() 또는 ctrl+d 눌러서 터미널로 이동. 아래 명령어 입력

pip3 intall jupyter
뭔가.. 일어나고 있어
잘된것 같다!

Step 5: 터미널에서 jupyter notebook 입력

터미널 화면은 이렇다
성!공!

 

끝!

Comment