Help Save Code2care! ๐Ÿ˜ข

I've lost 99% of my revenue to AdBlockers & AI. Your support could be the lifeline that keeps this passion project alive!

Buy Code2care a Coffee QR Code

Scan to Buy Me A Coffee and help me continue coding for you!

How to Start Jupyter Notebook on Mac


If you have installed Jupyter Notebook via pip/pip3, you can start it via the command line on your Mac as follows,

  1. Open Terminal Application.
  2. Now type:
    python3 -m notebook
  3. You will see something like this on your terminal,

    [I 18:12:17.778 NotebookApp] Serving notebooks from local directory: /Users/c2ctech
    [I 18:12:17.778 NotebookApp] Jupyter Notebook 6.5.4 is running at:
    [I 18:12:17.778 NotebookApp] http://localhost:8888/?token=9b3a5d214c1e755423b1f32ef2f871b332fcf2715ae3b3ab
    [I 18:12:17.778 NotebookApp] or http://127.0.0.1:8888/?token=9b3a5d214c1e755423b1f32ef2f871b332fcf2715ae3b3ab
    [I 18:12:17.778 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

  4. You will be directed to your web browser (Safari/Chrome/Edge based on what you set as default) with Home Page
  5. URL: http://localhost:8888/tree
Running Jupyter Notebook on Mac
jupyter window on Safari

You can download this article in various formats for your convenience. Choose from the options below:

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

Author Info:

Rakesh (He/Him) has a Masters Degree in Computer Science with over 15+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright Code2care ยฉ 2024 | Privacy Policy | About Us | Contact Us | Search