Hi,
I have just started learning Python. I am having the following code error when I launch Jupyter Notebook.
Any help will be realy appreciated. Thanks.
[I 2025-02-17 03:24:11.077 ServerApp] Extension package aext_assistant took 1.3608s to import
[I 2025-02-17 03:24:11.096 ServerApp] ****************** ENVIRONMENT [Panels] Environment.PRODUCTION ******************
[I 2025-02-17 03:24:11.098 ServerApp] ****************** ENVIRONMENT [Panels] Environment.PRODUCTION ******************
[I 2025-02-17 03:24:11.244 ServerApp] → Alembic Config: {‘db_conn_url’: ‘sqlite:///C:\Users\single\anaconda_projects\db\project_filebrowser.db’, ‘db_path’: ‘C:\Users\single\anaconda_projects\db\project_filebrowser.db’}
[I 2025-02-17 03:24:11.244 ServerApp] Default dir: C:\Users\single. Running chdir…
[I 2025-02-17 03:24:11.244 ServerApp] Checking for database file @ C:\Users\single\anaconda_projects\db\project_filebrowser.db
[I 2025-02-17 03:24:11.244 ServerApp] Database file already exists
[I 2025-02-17 03:24:11.257 ServerApp] Migrations executed
[I 2025-02-17 03:24:11.257 ServerApp] Checking project configuration: C:\Users\single. Running chdir…
[I 2025-02-17 03:24:11.460 ServerApp] Extension package aext_toolbox took 0.3486s to import
[W 2025-02-17 03:24:11.484 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-17 03:24:11.570 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-17 03:24:12.451 ServerApp] Extension package panel.io.jupyter_server_extension took 0.8804s to import
[I 2025-02-17 03:24:12.452 ServerApp] aext_assistant | extension was successfully linked.
[I 2025-02-17 03:24:12.452 ServerApp] aext_core | extension was successfully linked.
[I 2025-02-17 03:24:12.452 ServerApp] aext_panels | extension was successfully linked.
[I 2025-02-17 03:24:12.452 ServerApp] aext_share_notebook | extension was successfully linked.
[I 2025-02-17 03:24:12.452 ServerApp] aext_toolbox | extension was successfully linked.
[I 2025-02-17 03:24:12.452 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2025-02-17 03:24:12.456 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2025-02-17 03:24:12.460 ServerApp] jupyterlab | extension was successfully linked.
[I 2025-02-17 03:24:12.465 ServerApp] notebook | extension was successfully linked.
[I 2025-02-17 03:24:12.718 ServerApp] notebook_shim | extension was successfully linked.
[I 2025-02-17 03:24:12.718 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2025-02-17 03:24:14.251 ServerApp] nb_conda_kernels | enabled, 1 kernels found.
[I 2025-02-17 03:24:14.266 ServerApp] notebook_shim | extension was successfully loaded.
[I 2025-02-17 03:24:14.266 ServerApp] Registered aext_assistant server extension
[I 2025-02-17 03:24:14.266 ServerApp] aext_assistant | extension was successfully loaded.
[I 2025-02-17 03:24:14.267 ServerApp] Registered aext_core server extension
[I 2025-02-17 03:24:14.267 ServerApp] aext_core | extension was successfully loaded.
[I 2025-02-17 03:24:14.268 ServerApp] Registered aext_panels server extension
[I 2025-02-17 03:24:14.268 ServerApp] aext_panels | extension was successfully loaded.
[I 2025-02-17 03:24:14.268 ServerApp] Registered aext_share_notebook_server server extension
[I 2025-02-17 03:24:14.268 ServerApp] aext_share_notebook | extension was successfully loaded.
[I 2025-02-17 03:24:14.269 ServerApp] Registered aext_project_filebrowser_server extension
[I 2025-02-17 03:24:14.269 ServerApp] Registered aext_toolbox extension
[I 2025-02-17 03:24:14.269 ServerApp] aext_toolbox | extension was successfully loaded.
[I 2025-02-17 03:24:14.271 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2025-02-17 03:24:14.271 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2025-02-17 03:24:14.275 LabApp] JupyterLab extension loaded from C:\ProgramData\anaconda3\Lib\site-packages\jupyterlab
[I 2025-02-17 03:24:14.275 LabApp] JupyterLab application directory is C:\ProgramData\anaconda3\share\jupyter\lab
[I 2025-02-17 03:24:14.276 LabApp] Extension Manager is ‘pypi’.
[I 2025-02-17 03:24:14.421 ServerApp] jupyterlab | extension was successfully loaded.
[I 2025-02-17 03:24:14.427 ServerApp] notebook | extension was successfully loaded.
[I 2025-02-17 03:24:14.427 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2025-02-17 03:24:14.428 ServerApp] Serving notebooks from local directory: C:\Users\single
[I 2025-02-17 03:24:14.428 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2025-02-17 03:24:14.429 ServerApp] http://localhost:8888/tree?token=2211403a31e339d89330da47ea6fc94d329f43af59dddbdc
[I 2025-02-17 03:24:14.429 ServerApp] http://127.0.0.1:8888/tree?token=2211403a31e339d89330da47ea6fc94d329f43af59dddbdc
[I 2025-02-17 03:24:14.429 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2025-02-17 03:24:14.429 ServerApp] Failed to write server-info to C:\Users\single\AppData\Roaming\jupyter\runtime\jpserver-16208.json: PermissionError(13, ‘Permission denied’)
Traceback (most recent call last):
File “C:\ProgramData\anaconda3\Scripts\jupyter-notebook-script.py”, line 10, in
sys.exit(main())
^^^^^^
File “C:\ProgramData\anaconda3\Lib\site-packages\jupyter_server\extension\application.py”, line 623, in launch_instance
serverapp.start()
File “C:\ProgramData\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3119, in start
self.start_app()
File “C:\ProgramData\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3023, in start_app
self.write_browser_open_files()
File “C:\ProgramData\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 2890, in write_browser_open_files
self.write_browser_open_file()
File “C:\ProgramData\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\single\AppData\Roaming\jupyter\runtime\jpserver-16208-open.html’
Sentry is attempting to send 1 pending events
Waiting up to 2 seconds
Press Ctrl-Break to quit