Skip to content

I can’t launch Jupyter notebook (PermissionError: [Errno 13] Permission denied) #7421

Closed
@gckoas

Description

@gckoas

I am new and i cant launch Jupyter notebook. I am getting the following error>
[I 2024-07-09 10:12:43.731 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-07-09 10:12:43.739 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-07-09 10:12:43.746 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-07-09 10:12:43.753 ServerApp] notebook | extension was successfully linked.
[I 2024-07-09 10:12:44.134 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-07-09 10:12:44.181 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-07-09 10:12:44.185 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-07-09 10:12:44.185 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-07-09 10:12:44.189 LabApp] JupyterLab extension loaded from C:\Users\gckoas\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyterlab
[I 2024-07-09 10:12:44.189 LabApp] JupyterLab application directory is C:\Users\gckoas\AppData\Local\Programs\Python\Python312\share\jupyter\lab
[I 2024-07-09 10:12:44.190 LabApp] Extension Manager is 'pypi'.
[I 2024-07-09 10:12:44.599 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-07-09 10:12:44.609 ServerApp] notebook | extension was successfully loaded.
[I 2024-07-09 10:12:44.610 ServerApp] The port 8888 is already in use, trying another port.
[I 2024-07-09 10:12:44.610 ServerApp] The port 8889 is already in use, trying another port.
[I 2024-07-09 10:12:44.611 ServerApp] Serving notebooks from local directory: C:\Users\gckoas
[I 2024-07-09 10:12:44.612 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2024-07-09 10:12:44.612 ServerApp] http://localhost:8890/tree?token=8ef7c317aafd78768a2e3092c044bd65399d906a5a1c2704
[I 2024-07-09 10:12:44.612 ServerApp] http://127.0.0.1:8890/tree?token=8ef7c317aafd78768a2e3092c044bd65399d906a5a1c2704
[I 2024-07-09 10:12:44.612 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2024-07-09 10:12:44.612 ServerApp] Failed to write server-info to C:\Users\gckoas\AppData\Roaming\jupyter\runtime\jpserver-14760.json: PermissionError(13, 'Permission denied')
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\gckoas\AppData\Local\Programs\Python\Python312\Scripts\jupyter-notebook.EXE_main
.py", line 7, in
File "C:\Users\gckoas\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyter_server\extension\application.py", line 623, in launch_instance
serverapp.start()
File "C:\Users\gckoas\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyter_server\serverapp.py", line 3119, in start
self.start_app()
File "C:\Users\gckoas\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyter_server\serverapp.py", line 3023, in start_app
self.write_browser_open_files()
File "C:\Users\gckoas\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyter_server\serverapp.py", line 2890, in write_browser_open_files
self.write_browser_open_file()
File "C:\Users\gckoas\AppData\Local\Programs\Python\Python312\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\gckoas\AppData\Roaming\jupyter\runtime\jpserver-14760-open.html'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions