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

I can't Launch Jupyter Notebook #7426

Closed
CVG12 opened this issue Jul 15, 2024 · 8 comments
Closed

I can't Launch Jupyter Notebook #7426

CVG12 opened this issue Jul 15, 2024 · 8 comments
Labels
bug status:Needs Info status:Needs Triage Applied to issues that need triage

Comments

@CVG12
Copy link

CVG12 commented Jul 15, 2024

It will not let me launch Jupyter Notebook. This is the error it is giving me:
[I 2024-07-15 16:51:28.857 ServerApp] Extension package aext_assistant took 0.1632s to import
[I 2024-07-15 16:51:28.872 ServerApp] ****************** ENVIRONMENT Environment.PRODUCTION ******************
[I 2024-07-15 16:51:28.874 ServerApp] ****************** ENVIRONMENT Environment.PRODUCTION ******************
[W 2024-07-15 16:51:28.902 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-07-15 16:51:28.974 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-07-15 16:51:29.630 ServerApp] Extension package panel.io.jupyter_server_extension took 0.6556s to import
[I 2024-07-15 16:51:29.630 ServerApp] aext_assistant | extension was successfully linked.
[I 2024-07-15 16:51:29.630 ServerApp] aext_core | extension was successfully linked.
[I 2024-07-15 16:51:29.630 ServerApp] aext_panels | extension was successfully linked.
[I 2024-07-15 16:51:29.632 ServerApp] aext_share_notebook | extension was successfully linked.
[I 2024-07-15 16:51:29.632 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-07-15 16:51:29.634 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-07-15 16:51:29.637 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-07-15 16:51:29.640 ServerApp] notebook | extension was successfully linked.
[I 2024-07-15 16:51:29.890 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-07-15 16:51:29.890 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2024-07-15 16:51:29.957 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-07-15 16:51:29.957 ServerApp] Registered aext_assistant server extension
[I 2024-07-15 16:51:29.957 ServerApp] aext_assistant | extension was successfully loaded.
[I 2024-07-15 16:51:29.958 ServerApp] Registered aext_core server extension
[I 2024-07-15 16:51:29.958 ServerApp] aext_core | extension was successfully loaded.
[I 2024-07-15 16:51:29.959 ServerApp] Registered aext_panels server extension
[I 2024-07-15 16:51:29.959 ServerApp] aext_panels | extension was successfully loaded.
[I 2024-07-15 16:51:29.959 ServerApp] Registered aext_share_notebook_server server extension
[I 2024-07-15 16:51:29.959 ServerApp] aext_share_notebook | extension was successfully loaded.
[I 2024-07-15 16:51:29.960 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-07-15 16:51:29.960 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-07-15 16:51:29.964 LabApp] JupyterLab extension loaded from C:\Users\cal_v\anaconda3\Lib\site-packages\jupyterlab
[I 2024-07-15 16:51:29.964 LabApp] JupyterLab application directory is C:\Users\cal_v\anaconda3\share\jupyter\lab
[I 2024-07-15 16:51:29.965 LabApp] Extension Manager is 'pypi'.
[I 2024-07-15 16:51:29.966 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-07-15 16:51:29.970 ServerApp] notebook | extension was successfully loaded.
[I 2024-07-15 16:51:29.970 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2024-07-15 16:51:29.971 ServerApp] Serving notebooks from local directory: C:\Users\cal_v
[I 2024-07-15 16:51:29.971 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2024-07-15 16:51:29.971 ServerApp] http://localhost:8888/tree?token=e6859425dfd1d02b4ab7e608d62527d2ee75fb6f6528fd05
[I 2024-07-15 16:51:29.971 ServerApp] http://127.0.0.1:8888/tree?token=e6859425dfd1d02b4ab7e608d62527d2ee75fb6f6528fd05
[I 2024-07-15 16:51:29.971 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2024-07-15 16:51:29.971 ServerApp] Failed to write server-info to C:\Users\cal_v\AppData\Roaming\jupyter\runtime\jpserver-13596.json: PermissionError(13, 'Permission denied')
Traceback (most recent call last):
File "C:\Users\cal_v\anaconda3\Scripts\jupyter-notebook-script.py", line 10, in
sys.exit(main())
^^^^^^
File "C:\Users\cal_v\anaconda3\Lib\site-packages\jupyter_server\extension\application.py", line 623, in launch_instance
serverapp.start()
File "C:\Users\cal_v\anaconda3\Lib\site-packages\jupyter_server\serverapp.py", line 3119, in start
self.start_app()
File "C:\Users\cal_v\anaconda3\Lib\site-packages\jupyter_server\serverapp.py", line 3023, in start_app
self.write_browser_open_files()
File "C:\Users\cal_v\anaconda3\Lib\site-packages\jupyter_server\serverapp.py", line 2890, in write_browser_open_files
self.write_browser_open_file()
File "C:\Users\cal_v\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\cal_v\AppData\Roaming\jupyter\runtime\jpserver-13596-open.html'

@CVG12 CVG12 added bug status:Needs Triage Applied to issues that need triage labels Jul 15, 2024
@RRosio
Copy link
Collaborator

RRosio commented Jul 15, 2024

Hi @CVG12, would you be able to update the runtime directory as mentioned in #7421 (comment), to see if that solves your issue?

@CVG12
Copy link
Author

CVG12 commented Jul 16, 2024

How do I update the runtime directory?

@RRosio
Copy link
Collaborator

RRosio commented Jul 16, 2024

How do I update the runtime directory?

To update the runtime directory as in the documentation, you can use an environment variable JUPYTER_RUNTIME_DIR to set it, or you typically find the runtime directory path with jupyter --runtime-dir and update it from C:\Users\cal_v\AppData\Roaming\jupyter\runtime to another directory outside of C:\Users\cal_v\AppData\Roaming

@RRosio
Copy link
Collaborator

RRosio commented Jul 23, 2024

Hi @CVG12, just following up with you, were you able to update the runtime directory to see if it resolves your issue?

@CVG12
Copy link
Author

CVG12 commented Jul 24, 2024 via email

@JimeFioni
Copy link

So using another IDE have you solved the problem? @CVG12

@CVG12
Copy link
Author

CVG12 commented Jul 27, 2024 via email

@RRosio
Copy link
Collaborator

RRosio commented Jul 30, 2024

Hi @CVG12 thank you for your reply. Sorry that you experience this issue and were not able to use Notebook. It doesn't look like there's more for us to follow up on here so I will close this issue.

@RRosio RRosio closed this as completed Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Info status:Needs Triage Applied to issues that need triage
Projects
None yet
Development

No branches or pull requests

3 participants