Jupyter notebook in anaconda

Hi There I just installed anaconda and tried to open jupyter however received below error:

[W 2024-07-09 12:58:23.092 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-07-09 12:58:23.222 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-07-09 12:58:24.620 ServerApp] Extension package panel.io.jupyter_server_extension took 1.3963s to import
[I 2024-07-09 12:58:24.663 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-07-09 12:58:24.675 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-07-09 12:58:24.689 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-07-09 12:58:24.701 ServerApp] notebook | extension was successfully linked.
[I 2024-07-09 12:58:25.415 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-07-09 12:58:25.415 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2024-07-09 12:58:25.477 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-07-09 12:58:25.480 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-07-09 12:58:25.481 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-07-09 12:58:25.488 LabApp] JupyterLab extension loaded from C:\anaconda\Lib\site-packages\jupyterlab
[I 2024-07-09 12:58:25.488 LabApp] JupyterLab application directory is C:\anaconda\share\jupyter\lab
[I 2024-07-09 12:58:25.489 LabApp] Extension Manager is ‘pypi’.
[I 2024-07-09 12:58:25.491 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-07-09 12:58:25.502 ServerApp] notebook | extension was successfully loaded.
[I 2024-07-09 12:58:25.503 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2024-07-09 12:58:25.504 ServerApp] Serving notebooks from local directory: C:\Users\krish
[I 2024-07-09 12:58:25.504 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2024-07-09 12:58:25.504 ServerApp] http://localhost:8888/tree?token=6ab745c5d6d706383d749d8109b91646c31bc7381f3ffab8
[I 2024-07-09 12:58:25.504 ServerApp] http://127.0.0.1:8888/tree?token=6ab745c5d6d706383d749d8109b91646c31bc7381f3ffab8
[I 2024-07-09 12:58:25.504 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2024-07-09 12:58:25.505 ServerApp] Failed to write server-info to C:\Users\krish\AppData\Roaming\jupyter\runtime\jpserver-9032.json: PermissionError(13, ‘Permission denied’)
Traceback (most recent call last):
File “C:\anaconda\Scripts\jupyter-notebook-script.py”, line 10, in
sys.exit(main())
^^^^^^
File “C:\anaconda\Lib\site-packages\jupyter_server\extension\application.py”, line 623, in launch_instance
serverapp.start()
File “C:\anaconda\Lib\site-packages\jupyter_server\serverapp.py”, line 3119, in start
self.start_app()
File “C:\anaconda\Lib\site-packages\jupyter_server\serverapp.py”, line 3023, in start_app
self.write_browser_open_files()
File “C:\anaconda\Lib\site-packages\jupyter_server\serverapp.py”, line 2890, in write_browser_open_files
self.write_browser_open_file()
File “C:\anaconda\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\krish\AppData\Roaming\jupyter\runtime\jpserver-9032-open.html’

ran into the same problem, the C:\Users\krish\AppData\Roaming\jupyter\runtime folder doesn’t have admin rights causing Jupyter notebook starting issues.
right click on the folder and add admin read/write rights or double click on the jpserver-9032-open.html file, if admin rights are not OK you’ll get a pop-up to enable them.