ERR_FILE_NOT_FOUND & PermissionError: [Errno 13] Permission denied

Hello!

I’ve been trying to work with Anaconda/Jupyter for a while, it’s the envoiroment that I use to learn Python. I’ve had it in the past and had no issues, but since I instaled it in a clean hard drive (Windows 10), it’s been imposible.

Anaconda is messing up with permissions and files that don’t exist on their folder, and I can’t seem to change anything. I hope this is a common error, cause I find a lot of subjects talking about the issue but no one seem to reply! Hope I can bring some solutions <3

This is the error I get:

[W 2024-08-10 08:18:37.499 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-08-10 08:18:37.595 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-08-10 08:18:38.445 ServerApp] Extension package panel.io.jupyter_server_extension took 0.8492s to import
[I 2024-08-10 08:18:38.446 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-08-10 08:18:38.450 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-08-10 08:18:38.455 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-08-10 08:18:38.459 ServerApp] notebook | extension was successfully linked.
[I 2024-08-10 08:18:38.776 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-08-10 08:18:38.776 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2024-08-10 08:18:38.808 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-08-10 08:18:38.809 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-08-10 08:18:38.810 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-08-10 08:18:38.815 LabApp] JupyterLab extension loaded from C:\Users\lamal\anaconda3\Lib\site-packages\jupyterlab
[I 2024-08-10 08:18:38.815 LabApp] JupyterLab application directory is C:\Users\lamal\anaconda3\share\jupyter\lab
[I 2024-08-10 08:18:38.815 LabApp] Extension Manager is ‘pypi’.
[I 2024-08-10 08:18:38.819 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-08-10 08:18:38.824 ServerApp] notebook | extension was successfully loaded.
[I 2024-08-10 08:18:38.825 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2024-08-10 08:18:38.825 ServerApp] Serving notebooks from local directory: C:\Users\lamal
[I 2024-08-10 08:18:38.825 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2024-08-10 08:18:38.825 ServerApp] http://localhost:8888/tree?token=da88d2b8342c1ef0b79f7130bbc53befeea8674fce2cbf28
[I 2024-08-10 08:18:38.825 ServerApp] http://127.0.0.1:8888/tree?token=da88d2b8342c1ef0b79f7130bbc53befeea8674fce2cbf28
[I 2024-08-10 08:18:38.825 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2024-08-10 08:18:38.826 ServerApp] Failed to write server-info to C:\Users\lamal\AppData\Roaming\jupyter\runtime\jpserver-18584.json: PermissionError(13, ‘Permission denied’)
Traceback (most recent call last):
File “C:\Users\lamal\anaconda3\Scripts\jupyter-notebook-script.py”, line 10, in
sys.exit(main())
^^^^^^
File “C:\Users\lamal\anaconda3\Lib\site-packages\jupyter_server\extension\application.py”, line 623, in launch_instance
serverapp.start()
File “C:\Users\lamal\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3119, in start
self.start_app()
File “C:\Users\lamal\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3023, in start_app
self.write_browser_open_files()
File “C:\Users\lamal\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 2890, in write_browser_open_files
self.write_browser_open_file()
File “C:\Users\lamal\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\lamal\AppData\Roaming\jupyter\runtime\jpserver-18584-open.html’

And when not, I get in my browser an ERR_FILE_NOT_FOUND.

Was solved by a whole reset because Anaconda was deciding to actually not install everything as if Jupyter existed (brand new format so, no). Weird. Then another problem, a weird permission shenannigan I had to do, dunno why I even use the admind acount for if it’s not already admin.

Thanks!