Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter Notebook & Lab won't startafter anaconda's successful installation #13439

Open
4 of 8 tasks
claymore07 opened this issue Nov 22, 2024 · 0 comments
Open
4 of 8 tasks
Labels

Comments

@claymore07
Copy link

Checklist

  • I added a descriptive title.
  • I searched through existing issues and couldn't find a solution or duplicate issue.
  • I searched on the web (e.g. Google) and didn't find any helpful information.
  • I searched the Anaconda documentation and didn't find any helpful information.

Impacted product

  • A conda package (built by Anaconda)
  • Anaconda Distribution (formerly Anaconda Individual Edition)
  • Miniconda
  • Anaconda.org

What happened?

It is around one year that some of my students got issues with Anaconda Jupyter lab/notebook; they all got similar errors, as below:

[I 2024-11-22 06:01:59.231 ServerApp] Extension package aext_assistant took 0.3674s to import
[I 2024-11-22 06:01:59.263 ServerApp] **** ENVIRONMENT Environment.PRODUCTION ****
[I 2024-11-22 06:01:59.268 ServerApp] **** ENVIRONMENT Environment.PRODUCTION ****
[W 2024-11-22 06:01:59.322 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-11-22 06:01:59.429 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-11-22 06:02:00.930 ServerApp] Extension package panel.io.jupyter_server_extension took 1.5002s to import
[I 2024-11-22 06:02:00.931 ServerApp] aext_assistant | extension was successfully linked.
[I 2024-11-22 06:02:00.931 ServerApp] aext_core | extension was successfully linked.
[I 2024-11-22 06:02:00.931 ServerApp] aext_panels | extension was successfully linked.
[I 2024-11-22 06:02:00.931 ServerApp] aext_share_notebook | extension was successfully linked.
[I 2024-11-22 06:02:00.931 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-11-22 06:02:00.935 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-11-22 06:02:00.940 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-11-22 06:02:00.946 ServerApp] notebook | extension was successfully linked.
[I 2024-11-22 06:02:01.702 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-11-22 06:02:01.702 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2024-11-22 06:02:01.749 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-11-22 06:02:01.749 ServerApp] Registered aext_assistant server extension
[I 2024-11-22 06:02:01.749 ServerApp] aext_assistant | extension was successfully loaded.
[I 2024-11-22 06:02:01.749 ServerApp] Registered aext_core server extension
[I 2024-11-22 06:02:01.749 ServerApp] aext_core | extension was successfully loaded.
[I 2024-11-22 06:02:01.749 ServerApp] Registered aext_panels server extension
[I 2024-11-22 06:02:01.749 ServerApp] aext_panels | extension was successfully loaded.
[I 2024-11-22 06:02:01.749 ServerApp] Registered aext_share_notebook_server server extension
[I 2024-11-22 06:02:01.749 ServerApp] aext_share_notebook | extension was successfully loaded.
[I 2024-11-22 06:02:01.749 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-11-22 06:02:01.749 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-11-22 06:02:01.749 LabApp] JupyterLab extension loaded from C:\ProgramData\anaconda3\Lib\site-packages\jupyterlab
[I 2024-11-22 06:02:01.749 LabApp] JupyterLab application directory is C:\ProgramData\anaconda3\share\jupyter\lab
[I 2024-11-22 06:02:01.749 LabApp] Extension Manager is 'pypi'.
[I 2024-11-22 06:02:01.905 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-11-22 06:02:01.905 ServerApp] notebook | extension was successfully loaded.
[I 2024-11-22 06:02:01.905 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2024-11-22 06:02:01.905 ServerApp] Serving notebooks from local directory: C:\Users\RaSa
[I 2024-11-22 06:02:01.905 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2024-11-22 06:02:01.905 ServerApp] http://localhost:8888/tree?token=aee506bb54b16beb90787b9f72d3154f449b2f2589f46435
[I 2024-11-22 06:02:01.905 ServerApp] http://127.0.0.1:8888/tree?token=aee506bb54b16beb90787b9f72d3154f449b2f2589f46435
[I 2024-11-22 06:02:01.905 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2024-11-22 06:02:01.905 ServerApp] Failed to write server-info to C:\Users\RaSa\AppData\Roaming\jupyter\runtime\jpserver-17000.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\RaSa\AppData\Roaming\jupyter\runtime\jpserver-17000-open.html'

image

I couldn't recreate this error to solve it. Since these students are new to programming, if it possible, I want an simple solution. Best Regards

Expected behavior or outcome

running smoothly like always

Conda info

No response

Conda config

No response

Conda list

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant