Search code examples
pythonjupyter

Jupyter - Not sure if not working or broken link


I am trying to open a notebook with jupyter, by using the following command:

jupyter notebook notebook.ipynb

I use Linux and python2, I have installed jupyter inside a virtualenvironment with pip.

When I run the command above, what happens is that I get a new screen

REFRESH(1 sec): http://localhost:8889/notebooks/mylink

This page should redirect you to Jupyter Notebook. If it doesn't, click here to go to Jupyter.

However, there is no dashboard opening automatically. So, I clicked on the link, but I am unable to connect. The weird think is that I don't remember what I did yesterday, but I managed to get through very easily.

Am I doing something wrong? Or maybe there is a problem with the link?

EDIT: If I run

jupyter notebook.ipynb 

I get

Error executing Jupyter command 'notebook.ipynb': [Errno 2] No such file or directory

which does not make sense, because the file notebook.ipynb is actually there. If I type

jupyter notebook stop

I get

There are no running servers


Solution

  • What I usually do is run

    jupyter notebook
    

    and it will automatically open up the browser with my current directory. I then search for my notebook that way.