Can't open Jupyter Lab nor Jupyter Notebook

Hello,

I can’t launch Jupyter Lab nor Jupyter Notebook in the Anaconda Navigator.
When I try to launch either, I get the following error message in my default browser:

# Your file couldn’t be accessed It may have been moved, edited, or deleted. ERR_FILE_NOT_FOUND

And this path in the URL bar:

file:///C:/Users/Admin/AppData/Roaming/jupyter/runtime/jpserver-13436-open.html

When I enter this path into my file explorer, I receive the notification that this file doesn’t exists.

When following this path manually, I can’t open the folder ‘runtime’ nor run it as admin.

Can someone please help me to resolve this issue?

Thank you!

Myt

Update:

After restarting my laptop and trying again, I get the following notifications when launching either:

[I 2024-11-25 15:37:37.886 ServerApp] Extension package aext_assistant took 0.2599s to import
[I 2024-11-25 15:37:37.925 ServerApp] ****************** ENVIRONMENT Environment.PRODUCTION ******************
[I 2024-11-25 15:37:37.928 ServerApp] ****************** ENVIRONMENT Environment.PRODUCTION ******************
[W 2024-11-25 15:37:37.963 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 2024-11-25 15:37:38.058 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 2024-11-25 15:37:38.060 ServerApp] aext_assistant | extension was successfully linked.
[I 2024-11-25 15:37:38.060 ServerApp] aext_core | extension was successfully linked.
[I 2024-11-25 15:37:38.060 ServerApp] aext_panels | extension was successfully linked.
[I 2024-11-25 15:37:38.060 ServerApp] aext_share_notebook | extension was successfully linked.
[I 2024-11-25 15:37:38.060 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-11-25 15:37:38.067 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-11-25 15:37:38.075 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-11-25 15:37:38.084 ServerApp] notebook | extension was successfully linked.
[I 2024-11-25 15:37:38.561 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-11-25 15:37:38.619 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-11-25 15:37:38.620 ServerApp] Registered aext_assistant server extension
[I 2024-11-25 15:37:38.621 ServerApp] aext_assistant | extension was successfully loaded.
[I 2024-11-25 15:37:38.621 ServerApp] Registered aext_core server extension
[I 2024-11-25 15:37:38.621 ServerApp] aext_core | extension was successfully loaded.
[I 2024-11-25 15:37:38.622 ServerApp] Registered aext_panels server extension
[I 2024-11-25 15:37:38.623 ServerApp] aext_panels | extension was successfully loaded.
[I 2024-11-25 15:37:38.623 ServerApp] Registered aext_share_notebook_server server extension
[I 2024-11-25 15:37:38.623 ServerApp] aext_share_notebook | extension was successfully loaded.
[I 2024-11-25 15:37:38.627 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-11-25 15:37:38.628 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-11-25 15:37:38.634 LabApp] JupyterLab extension loaded from C:\Users\ytmic\anaconda3\Lib\site-packages\jupyterlab
[I 2024-11-25 15:37:38.634 LabApp] JupyterLab application directory is C:\Users\ytmic\anaconda3\share\jupyter\lab
[I 2024-11-25 15:37:38.635 LabApp] Extension Manager is ‘pypi’.
[I 2024-11-25 15:37:39.792 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-11-25 15:37:39.809 ServerApp] notebook | extension was successfully loaded.
[I 2024-11-25 15:37:39.811 ServerApp] Serving notebooks from local directory: C:\Users\ytmic
[I 2024-11-25 15:37:39.811 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2024-11-25 15:37:39.811 ServerApp] http://localhost:8888/tree?token=f60feb7f35244258bf2b453e5fc821994bd12ea4a826b98f
[I 2024-11-25 15:37:39.811 ServerApp] http://127.0.0.1:8888/tree?token=f60feb7f35244258bf2b453e5fc821994bd12ea4a826b98f
[I 2024-11-25 15:37:39.812 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2024-11-25 15:37:39.812 ServerApp] Failed to write server-info to C:\Users\ytmic\AppData\Roaming\jupyter\runtime\jpserver-4112.json: PermissionError(13, ‘Permission denied’)
Traceback (most recent call last):
File “C:\Users\ytmic\anaconda3\Scripts\jupyter-notebook-script.py”, line 10, in
sys.exit(main())
^^^^^^
File “C:\Users\ytmic\anaconda3\Lib\site-packages\jupyter_server\extension\application.py”, line 623, in launch_instance
serverapp.start()
File “C:\Users\ytmic\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3119, in start
self.start_app()
File “C:\Users\ytmic\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3023, in start_app
self.write_browser_open_files()
File “C:\Users\ytmic\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 2890, in write_browser_open_files
self.write_browser_open_file()
File “C:\Users\ytmic\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 2913, in write_browser_open_file
with open(self.browser_open_file, “w”, encoding=“utf-8”) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘C:\Users\ytmic\AppData\Roaming\jupyter\runtime\jpserver-4112-open.html’