Jupyer cannot lunch

Hello! Im new to anaconda, when i install the jupyter and tried to lunch it, it not working and showd the error code below:
does anyone know what happend with it? And what should I do next?

This is the Error text:
[W 2024-10-11 15:28:49.574 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-11 15:28:49.650 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-11 15:28:50.551 ServerApp] Extension package panel.io.jupyter_server_extension took 0.9005s to import
[I 2024-10-11 15:28:50.579 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-10-11 15:28:50.585 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-10-11 15:28:50.589 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-10-11 15:28:50.595 ServerApp] notebook | extension was successfully linked.
[I 2024-10-11 15:28:50.900 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-10-11 15:28:50.901 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2024-10-11 15:28:50.939 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-10-11 15:28:50.941 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-10-11 15:28:50.941 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-10-11 15:28:50.945 LabApp] JupyterLab extension loaded from C:\Users\frank\anaconda3\Lib\site-packages\jupyterlab
[I 2024-10-11 15:28:50.945 LabApp] JupyterLab application directory is C:\Users\frank\anaconda3\share\jupyter\lab
[I 2024-10-11 15:28:50.945 LabApp] Extension Manager is ‘pypi’.
[I 2024-10-11 15:28:50.948 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-10-11 15:28:50.952 ServerApp] notebook | extension was successfully loaded.
[I 2024-10-11 15:28:50.952 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2024-10-11 15:28:50.953 ServerApp] Serving notebooks from local directory: C:\Users\frank
[I 2024-10-11 15:28:50.953 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2024-10-11 15:28:50.953 ServerApp] http://localhost:8888/tree?token=14a716cc957ac1490fc7cb813a94e0101d356cfbfea3235a
[I 2024-10-11 15:28:50.953 ServerApp] http://127.0.0.1:8888/tree?token=14a716cc957ac1490fc7cb813a94e0101d356cfbfea3235a
[I 2024-10-11 15:28:50.953 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2024-10-11 15:28:50.954 ServerApp] Failed to write server-info to C:\Users\frank\AppData\Roaming\jupyter\runtime\jpserver-15728.json: PermissionError(13, ‘Permission denied’)
Traceback (most recent call last):
File “C:\Users\frank\anaconda3\Scripts\jupyter-notebook-script.py”, line 10, in
sys.exit(main())
^^^^^^
File “C:\Users\frank\anaconda3\Lib\site-packages\jupyter_server\extension\application.py”, line 623, in launch_instance
serverapp.start()
File “C:\Users\frank\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3119, in start
self.start_app()
File “C:\Users\frank\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3023, in start_app
self.write_browser_open_files()
File “C:\Users\frank\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 2890, in write_browser_open_files
self.write_browser_open_file()
File “C:\Users\frank\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\frank\AppData\Roaming\jupyter\runtime\jpserver-15728-open.html’

Hello Frank,

This error message looks like a permissions error message and you will need to have admin permissions set for that file path that you are trying to access.

‘C:\Users\frank\AppData\Roaming\jupyter\runtime\jpserver-15728-open.html’

Could you try Running anaconda as Administrator or editing the properties in that filepath to have full access?

Let me know if you have any further questions. I can try to assist in guidance!

1 Like

Thank you very much Mmonroe! But it’s still not working, and shows the text

Unable to create process using 'C:\ProgramData\anaconda3\python.exe C:\ProgramData\anaconda3\Scripts\jupyter-notebook-script.py ’

Hello Frank,

Apologies in the delay in my response.

Could you try opening your Anaconda Command Prompt?

Once there switch to the anaconda3 environment you have with the command: conda activate anaconda3

This will put you in your anaconda3 environment and then try running the command jupyter-lab

Thank you again for your patience.

I am having the same issue. I tried your advice to switch to anaconda3 but I am getting this error instead:

EnvironmentNameNotFound: Could not find conda environment: anaconda3
You can list all discoverable environments with conda info --envs.

Hello rmr,

anaconda3 was an environment only on the users system above. It was a unique environment they created on their local machine. You can create new environments with conda by using the command below:

conda create --name <insert_env_name>

Once the environment is created, you can activate it to get out of the base environment with conda activate <insert_env_name>.

Then, in your new environment, you can install jupyterlab with the command conda install jupyterlab

Once jupyterlab is installed, you can run the command jupyter-lab and it will pull up jupyterlab on your local machine as local host.