Hi, I am experiencing issues when launching Jupyter notebook via Anaconda (Mac M1). Specifically, when I create a new notebook or attempt to open a previously created notebook, nothing happens. I attempted to completely uninstall Anaconda using the following commands via my terminal:
rm - rf ~/anaconda3
sudo rm -rf /opt/anaconda
I then reinstalled anaconda using the official website/download link. My current Anaconda version is 24.11.3 and Python version is 3.12.7. I’m able to successfully launch Anaconda and Jupyter Notebook. However, I’m unable to launch a notebook after that to begin coding.
Here is the output of my terminal when I launch Jupyter Notebook:
Last login: Mon Feb 10 15:39:48 on ttys000
/opt/anaconda3/bin/jupyter_mac.command ; exit;
(base) nicholaslandi@Nicholass-MacBook-Pro ~ % /opt/anaconda3/bin/jupyter_mac.command ; exit;
[I 2025-02-10 15:43:04.908 ServerApp] Extension package aext_assistant took 0.8753s to import
[I 2025-02-10 15:43:04.923 ServerApp] ****************** ENVIRONMENT [Panels] Environment.PRODUCTION ******************
[I 2025-02-10 15:43:04.927 ServerApp] ****************** ENVIRONMENT [Panels] Environment.PRODUCTION ******************
[I 2025-02-10 15:43:05.101 ServerApp] --> Alembic Config: {'db_conn_url': 'sqlite:////Users/nicholaslandi/anaconda_projects/db/project_filebrowser.db', 'db_path': '/Users/nicholaslandi/anaconda_projects/db/project_filebrowser.db'}
[I 2025-02-10 15:43:05.102 ServerApp] Default dir: /Users/nicholaslandi. Running chdir...
[I 2025-02-10 15:43:05.102 ServerApp] Checking for database file @ /Users/nicholaslandi/anaconda_projects/db/project_filebrowser.db
[I 2025-02-10 15:43:05.102 ServerApp] Database file already exists
[I 2025-02-10 15:43:05.113 ServerApp] Migrations executed
[I 2025-02-10 15:43:05.113 ServerApp] Checking project configuration: /Users/nicholaslandi. Running chdir...
[I 2025-02-10 15:43:05.130 ServerApp] Extension package aext_toolbox took 0.1975s to import
[W 2025-02-10 15:43:05.148 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[W 2025-02-10 15:43:05.697 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2025-02-10 15:43:06.496 ServerApp] Extension package panel.io.jupyter_server_extension took 0.7981s to import
[I 2025-02-10 15:43:06.496 ServerApp] aext_assistant | extension was successfully linked.
[I 2025-02-10 15:43:06.497 ServerApp] aext_core | extension was successfully linked.
[I 2025-02-10 15:43:06.497 ServerApp] aext_panels | extension was successfully linked.
[I 2025-02-10 15:43:06.497 ServerApp] aext_share_notebook | extension was successfully linked.
[I 2025-02-10 15:43:06.497 ServerApp] aext_toolbox | extension was successfully linked.
[I 2025-02-10 15:43:06.497 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2025-02-10 15:43:06.499 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2025-02-10 15:43:06.501 ServerApp] jupyterlab | extension was successfully linked.
[I 2025-02-10 15:43:06.503 ServerApp] notebook | extension was successfully linked.
[I 2025-02-10 15:43:06.684 ServerApp] notebook_shim | extension was successfully linked.
[I 2025-02-10 15:43:06.685 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2025-02-10 15:43:07.496 ServerApp] nb_conda_kernels | enabled, 1 kernels found.
[I 2025-02-10 15:43:07.510 ServerApp] notebook_shim | extension was successfully loaded.
[I 2025-02-10 15:43:07.511 ServerApp] Registered aext_assistant server extension
[I 2025-02-10 15:43:07.511 ServerApp] aext_assistant | extension was successfully loaded.
[I 2025-02-10 15:43:07.511 ServerApp] Registered aext_core server extension
[I 2025-02-10 15:43:07.511 ServerApp] aext_core | extension was successfully loaded.
[I 2025-02-10 15:43:07.512 ServerApp] Registered aext_panels server extension
[I 2025-02-10 15:43:07.512 ServerApp] aext_panels | extension was successfully loaded.
[I 2025-02-10 15:43:07.512 ServerApp] Registered aext_share_notebook_server server extension
[I 2025-02-10 15:43:07.513 ServerApp] aext_share_notebook | extension was successfully loaded.
[I 2025-02-10 15:43:07.514 ServerApp] Registered aext_project_filebrowser_server extension
[I 2025-02-10 15:43:07.514 ServerApp] Registered aext_toolbox extension
[I 2025-02-10 15:43:07.514 ServerApp] aext_toolbox | extension was successfully loaded.
[I 2025-02-10 15:43:07.515 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2025-02-10 15:43:07.516 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2025-02-10 15:43:07.520 LabApp] JupyterLab extension loaded from /opt/anaconda3/lib/python3.12/site-packages/jupyterlab
[I 2025-02-10 15:43:07.520 LabApp] JupyterLab application directory is /opt/anaconda3/share/jupyter/lab
[I 2025-02-10 15:43:07.520 LabApp] Extension Manager is 'pypi'.
[I 2025-02-10 15:43:07.539 ServerApp] jupyterlab | extension was successfully loaded.
[I 2025-02-10 15:43:07.542 ServerApp] notebook | extension was successfully loaded.
[I 2025-02-10 15:43:07.542 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2025-02-10 15:43:07.543 ServerApp] Serving notebooks from local directory: /Users/nicholaslandi
[I 2025-02-10 15:43:07.543 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2025-02-10 15:43:07.543 ServerApp] http://localhost:8888/tree?token=9eb97d7415061e2ae9aca9655c49c98ef798e4e5c612673a
[I 2025-02-10 15:43:07.543 ServerApp] http://127.0.0.1:8888/tree?token=9eb97d7415061e2ae9aca9655c49c98ef798e4e5c612673a
[I 2025-02-10 15:43:07.543 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2025-02-10 15:43:07.551 ServerApp]
To access the server, open this file in a browser:
file:///Users/nicholaslandi/Library/Jupyter/runtime/jpserver-58511-open.html
Or copy and paste one of these URLs:
http://localhost:8888/tree?token=9eb97d7415061e2ae9aca9655c49c98ef798e4e5c612673a
http://127.0.0.1:8888/tree?token=9eb97d7415061e2ae9aca9655c49c98ef798e4e5c612673a
[W 2025-02-10 15:43:10.692 ServerApp] 404 GET /aext_profile_manager_server/account_details?1739220190631 (cf65d41f65c143e5ade794cb25a896f0@::1) 36.51ms referer=http://localhost:8888/tree
[I 2025-02-10 15:43:10.703 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
[I 2025-02-10 15:44:16.510 ServerApp] Kernel started: 4d1e7e88-d18d-4fc2-a71e-b21b27a94e7d
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[I 2025-02-10 15:44:17.222 ServerApp] Connecting to kernel 4d1e7e88-d18d-4fc2-a71e-b21b27a94e7d.
Also attaching screenshots of my issue for easier understanding. Any help would be greatly appreciated. For additional context, I’m able to open Spyder without any issues. Thank you.