Document
How to install Jupyter Notebook on macOS Sonoma

How to install Jupyter Notebook on macOS Sonoma

If you got a new Mac/Macbook or updated to macOS Sonoma, and you want to install Jupyter Notebook locally on your Mac then you can follow the below st

Related articles

VPNBook Xbox Cloud Gaming Explained: Online Play for All Gamers Cloud vs. On-Premise Deployment: Which Is Better for Your Business? 12 Best Torrent Sites in USA (Ad-Free Sites 2024) Best IPv6 VPN for 2025 [VPNs With IPv6 Support]

If you got a new Mac/Macbook or updated to macOS Sonoma, and you want to install Jupyter Notebook locally on your Mac then you can follow the below steps.

Step 1: Make sure Python 3.x is installed on your Mac

    Run the below command to see if Python 3.x is installed on your Mac by trying the –version command.

% python --version

Python 3.9.6

If you get an error, that python is not found, then makes sure to install it first.

% python --version
zsh: command not found: python

Also, make sure the pip3 command works.

% pip3 --version

pip 21.2.4 from /Library/Developer/CommandLineTools/Library/Frameworks/
Python3.framework/Versions/3.9/lib/python3.9/site-packages/pip (python 3.9)

step 2 : install Notebook using pip3 command

Macbook %pip3 install jupyter


Defaulting to user installation because normal site-packages is not writeable
Collecting jupyter
  Downloading jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)

..
..

step 3 : Run Notebook using python3 command

% python3 -m notebook

...
[I 2023-09-28 17:03:15.573 ServerApp] jupyterlab | extension was successfully loaded.
[I 2023-09-28 17:03:15.574 ServerApp] notebook | extension was successfully loaded.
[I 2023-09-28 17:03:15.575 ServerApp] Serving notebooks from local directory: /Users/code2care
[I 2023-09-28 17:03:15.575 ServerApp] Jupyter Server 2.7.3 is running at:
[I 2023-09-28 17:03:15.575 ServerApp] http://localhost:8888/tree?token=99a42be453b83ce732f15ea836f8017b8f297fad75bb678d
[I 2023-09-28 17:03:15.575 ServerApp]     http://127.0.0.1:8888/tree?token=99a42be453b83ce732f15ea836f8017b8f297fad75bb678d
[I 2023-09-28 17:03:15.575 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

This is not an AI-generated article but is demonstrated by a human on an M1 Mac running macOS Sonoma 14.0.

Please support independent contributors like Code2care by donating a coffee.

buy me a coffee !

You is download can download this article in various format for your convenience . choose from the option below :

Facing issues? Have Questions? Post them here! I am happy to answer!

Provide Feedback For This Article

We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!

thank for your feedback ! If you have time , please provide detail by select option below .

😊 Thanks for your time, your feedback has been registered!

More Posts related to MacOS,