1.pip 확인
bagchan-igdeMacBook-Pro:~ piaocanyi$ pip
-bash: pip: command not found
2. Ensurepip 방법을 사용하여 Python 3용 Mac에 PIP 설치
bagchan-igdeMacBook-Pro:~ piaocanyi$ python3 -m ensurepip
Looking in links: /var/folders/4p/w0j2shl902s8j591d88qmwwm0000gn/T/tmpgh_ymmud
Requirement already satisfied: setuptools in /opt/homebrew/lib/python3.11/site-packages (65.6.3)
Requirement already satisfied: pip in /opt/homebrew/lib/python3.11/site-packages (22.3.1)
3. jupyter 설치
bagchan-igdeMacBook-Pro:~ piaocanyi$ pip3 install jupyter
4 . jupyter notebook 명령어를 실행해 봤으나 command error 발생
bagchan-igdeMacBook-Pro:python piaocanyi$ jupyter notebook
-bash: jupyter: command not found
해결법1:
brew install jupyter lab 을 설치한 다음 실행
bagchan-igdeMacBook-Pro:python piaocanyi$ brew install jupyter
해결법2: python3 -m notebook 명령어 사용
bagchan-igdeMacBook-Pro:python piaocanyi$ python3 -m notebook
참고:
https://stackoverflow.com/questions/35313876/after-installing-with-pip-jupyter-command-not-found