본문 바로가기
프로그래밍/Python

[Python] "jupyter: Command not found" 오류 해결 (Mac Terminal)

by research_notes 2023. 1. 30.
728x90
반응형

주피터 노트북(Jupyter Notebook)라는 툴을 이용하여 웹 브라우저 환경에서 파이썬 코드를 작성 및 실행할 수 있습니다.

주피터 노트북을 설치하는 방법은 두가지!

(1) 아나콘다(Anaconda) 설치 --> 아나콘다 설치할 때 주피터 노트북도 같이 설치하면 됨.

(2) Cmd 창에서 설치

 

 

*** cmd 창에서 설치하는 방법 ***

 

1. python 버전 확인

python --version

위 코드에서 에러가 난다면, 아래 코드 시도해보기

python3 --version

 

2. pip3 install --upgrade pip (꼭 필요한 건 아니지만, 에러가 날 경우 시도해보기)

pip3 install --upgrade pip

 

3. Install Jupyter

pip install jupyter

 

위와 마찬가지로, 파이썬3과 2를 구분지어야 한다면, pip -->  pip3

pip3 install jupyter

 

4. jupyter notebook 실행

jupyter notebook

이렇게 치면, 보통은 주피터 노트북 웹 브라우저가 실행된다.

5. Error "jupyter: Command not found." 

"jupyter: Command not found." 라는 에러가 뜬다면, 아래 코드 입력

   *위에서 python3를 사용했다면 python 대신 python3 사용하기

python -m notebook

V

V

V

 

 

 

 

2023.04.12 - [프로그래밍/ETC] - [Mac] Docker Installation

 

[Mac] Docker Installation

Install Docker Desktop: (https://docs.docker.com/engine/install/) Check --> Mac with Apple silicon vs Mac with Intel chip Download Docker Desktop for Mac with Apple silicon $ softwareupdate --install-rosetta **두가지 설치방법 중 한가지 골라서

kimtutor.tistory.com

 

2023.04.06 - [프로그래밍/ETC] - [Ubuntu] docker 에러 해결 "docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"

 

[Ubuntu] docker 에러 해결 "docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon

docker 설치 후, 명령어를 실행했을 때 아래와 같은 에러가 발생한다.$ sudo docker run hello-worlddocker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.See 'docker run --help'. 아래

kimtutor.tistory.com

 

728x90
반응형