Installing Jupyter Notebook on macOS
I'm using the Anaconda distribution to install Jupyter Notebook.
Step 1: Download Anaconda
First, visit the Anaconda website to download the installer: https://www.anaconda.com/products/distribution
Step 2: Install Anaconda
Run the downloaded installer and follow the graphical prompts to install Anaconda.
Step 3: Attempt to Run Jupyter Notebook
After installation, try running Jupyter Notebook by executing:
You may encounter the following error:
This happens because the conda
command is also not found:
Step 4: Update Shell Configuration
To resolve this issue, open your .zshrc
file with your preferred text editor:
Add the following line at the bottom of the file:
Step 5: Restart Shell and Run Jupyter Notebook
Save the file and restart your shell. Try running Jupyter Notebook again. It should now be accessible at http://localhost:8888/.