Jupyter lab not able to open

I’m having trouble opening Jupyter notebook in Anaconda.

Here’s the error that I get
[I 2025-03-05 18:17:32.294 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2025-03-05 18:17:32.294 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2025-03-05 18:17:32.307 ServerApp] jupyterlab | extension was successfully linked.
[I 2025-03-05 18:17:32.309 ServerApp] notebook | extension was successfully linked.
[I 2025-03-05 18:17:32.708 ServerApp] notebook_shim | extension was successfully linked.
[I 2025-03-05 18:17:32.708 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2025-03-05 18:17:32.792 ServerApp] notebook_shim | extension was successfully loaded.
[I 2025-03-05 18:17:32.792 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2025-03-05 18:17:32.792 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2025-03-05 18:17:32.792 LabApp] JupyterLab extension loaded from C:\Users\my_username\AppData\Local\anaconda3\Lib\site-packages\jupyterlab
[I 2025-03-05 18:17:32.792 LabApp] JupyterLab application directory is C:\Users\my_username\AppData\Local\anaconda3\share\jupyter\lab
[I 2025-03-05 18:17:32.792 LabApp] Extension Manager is ‘pypi’.
[I 2025-03-05 18:17:33.037 ServerApp] jupyterlab | extension was successfully loaded.
[I 2025-03-05 18:17:33.046 ServerApp] notebook | extension was successfully loaded.
[I 2025-03-05 18:17:33.047 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2025-03-05 18:17:33.048 ServerApp] Serving notebooks from local directory: C:\Users\my_username
[I 2025-03-05 18:17:33.048 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2025-03-05 18:17:33.048 ServerApp] http://localhost:8888/lab?token=b1728ed16a52589fe38b540933406ace3d765ce4d9485f23
[I 2025-03-05 18:17:33.049 ServerApp] http://127.0.0.1:8888/lab?token=b1728ed16a52589fe38b540933406ace3d765ce4d9485f23
[I 2025-03-05 18:17:33.049 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2025-03-05 18:17:33.049 ServerApp] Failed to write server-info to C:\Users\my_username\AppData\Roaming\jupyter\runtime\jpserver-5516.json: PermissionError(13, ‘Permission denied’)
Traceback (most recent call last):
File “C:\Users\my_username\AppData\Local\anaconda3\Scripts\jupyter-lab-script.py”, line 10, in
sys.exit(main())
^^^^^^
File “C:\Users\my_username\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\extension\application.py”, line 623, in launch_instance
serverapp.start()
File “C:\Users\my_username\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3119, in start
self.start_app()
File “C:\Users\my_username\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3023, in start_app
self.write_browser_open_files()
File “C:\Users\my_username\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 2890, in write_browser_open_files
self.write_browser_open_file()
File “C:\Users\my_username\AppData\Local\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\my_username\AppData\Roaming\jupyter\runtime\jpserver-5516-open.html’

Please help! Thank you.

Hey @Sharvil,

Welcome to the Anaconda community and sorry to see you’re having issues.

Looks like this issue has a solution in this thread so please give that a go and let us know if it works!

Thanks,
Jack