Launching Notebook instead opens a file tree

I’m on Debian 10.

Executing “jupyter notebook” in the terminal shows:

[I 16:53:42.095 NotebookApp] Writing notebook server cookie secret to /home/trent/.local/share/jupyter/runtime/notebook_cookie_secret
[I 16:53:44.182 NotebookApp] JupyterLab extension loaded from /home/trent/anaconda3/lib/python3.8/site-packages/jupyterlab
[I 16:53:44.182 NotebookApp] JupyterLab application directory is /home/trent/anaconda3/share/jupyter/lab
[I 16:53:44.187 NotebookApp] Serving notebooks from local directory: /home/trent
[I 16:53:44.187 NotebookApp] Jupyter Notebook 6.1.4 is running at:
[I 16:53:44.187 NotebookApp] http://localhost:8888/?token=9c80e513ef0c89db2a0eaf53e2833d4daa1e2483742044e1
[I 16:53:44.187 NotebookApp]  or http://127.0.0.1:8888/?token=9c80e513ef0c89db2a0eaf53e2833d4daa1e2483742044e1
[I 16:53:44.188 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

Then the browser is directed to open the page, but instead of Notebook, I am getting a directory listing of my Home directory.

What’s going on with this?

Thanks!

That is the Jupyter notebook dashboard and corresponds to one of the lines you included:

Serving notebooks from local directory: /home/trent

If you already had a notebook .ipynb file in that directory, you could click on the file name in the list and it would open.
Otherwise, you can open a new notebook using the New button on the right.
If you have a notebook.ipynb file in your user file hierarchy somewhere, you can navigate to it via the file tree in the dashboard and open it. Alternatively, you can move it to where you are.

2 Likes

Thanks for the assist in me getting started, I was looking over something on getting started, and they were showing an image of what I have now after clicking “new.”

Thanks for your time.

1 Like