I have this error message when try to launch Jypter lab. How to fix it?
Thank you for your help
[I 2024-10-23 15:49:17.926 ServerApp] Extension package aext_assistant took 0.3660s to import
[I 2024-10-23 15:49:17.958 ServerApp] ****************** ENVIRONMENT Environment.PRODUCTION ******************
[I 2024-10-23 15:49:17.962 ServerApp] ****************** ENVIRONMENT Environment.PRODUCTION ******************
[W 2024-10-23 15:49:18.011 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-10-23 15:49:18.038 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-10-23 15:49:19.459 ServerApp] Extension package panel.io.jupyter_server_extension took 1.4204s to import
[I 2024-10-23 15:49:19.459 ServerApp] aext_assistant | extension was successfully linked.
[I 2024-10-23 15:49:19.459 ServerApp] aext_core | extension was successfully linked.
[I 2024-10-23 15:49:19.459 ServerApp] aext_panels | extension was successfully linked.
[I 2024-10-23 15:49:19.459 ServerApp] aext_share_notebook | extension was successfully linked.
[I 2024-10-23 15:49:19.459 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-10-23 15:49:19.459 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-10-23 15:49:19.467 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-10-23 15:49:19.476 ServerApp] notebook | extension was successfully linked.
[I 2024-10-23 15:49:20.087 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-10-23 15:49:20.087 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2024-10-23 15:49:20.155 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-10-23 15:49:20.160 ServerApp] Registered aext_assistant server extension
[I 2024-10-23 15:49:20.160 ServerApp] aext_assistant | extension was successfully loaded.
[I 2024-10-23 15:49:20.160 ServerApp] Registered aext_core server extension
[I 2024-10-23 15:49:20.160 ServerApp] aext_core | extension was successfully loaded.
[I 2024-10-23 15:49:20.160 ServerApp] Registered aext_panels server extension
[I 2024-10-23 15:49:20.160 ServerApp] aext_panels | extension was successfully loaded.
[I 2024-10-23 15:49:20.160 ServerApp] Registered aext_share_notebook_server server extension
[I 2024-10-23 15:49:20.160 ServerApp] aext_share_notebook | extension was successfully loaded.
[I 2024-10-23 15:49:20.160 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-10-23 15:49:20.160 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-10-23 15:49:20.168 LabApp] JupyterLab extension loaded from C:\Users\sandr\anaconda3\Lib\site-packages\jupyterlab
[I 2024-10-23 15:49:20.168 LabApp] JupyterLab application directory is C:\Users\sandr\anaconda3\share\jupyter\lab
[I 2024-10-23 15:49:20.176 LabApp] Extension Manager is ‘pypi’.
[I 2024-10-23 15:49:20.176 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-10-23 15:49:20.184 ServerApp] notebook | extension was successfully loaded.
[I 2024-10-23 15:49:20.184 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2024-10-23 15:49:20.184 ServerApp] Serving notebooks from local directory: C:\Users\sandr
[I 2024-10-23 15:49:20.184 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2024-10-23 15:49:20.184 ServerApp] http://localhost:8888/lab?token=2dd252745fae5b01657e685450c1cb9a1db33bf34554dc2b
[I 2024-10-23 15:49:20.184 ServerApp] http://127.0.0.1:8888/lab?token=2dd252745fae5b01657e685450c1cb9a1db33bf34554dc2b
[I 2024-10-23 15:49:20.184 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2024-10-23 15:49:20.184 ServerApp] Failed to write server-info to C:\Users\sandr\AppData\Roaming\jupyter\runtime\jpserver-11452.json: PermissionError(13, ‘Permission denied’)
Traceback (most recent call last):
File “C:\Users\sandr\anaconda3\Scripts\jupyter-lab-script.py”, line 10, in
sys.exit(main())
^^^^^^
File “C:\Users\sandr\anaconda3\Lib\site-packages\jupyter_server\extension\application.py”, line 623, in launch_instance
serverapp.start()
File “C:\Users\sandr\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3119, in start
self.start_app()
File “C:\Users\sandr\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3023, in start_app
self.write_browser_open_files()
File “C:\Users\sandr\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 2890, in write_browser_open_files
self.write_browser_open_file()
File “C:\Users\sandr\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\sandr\AppData\Roaming\jupyter\runtime\jpserver-11452-open.html’