rjurney / Agile_Data_Code_2

Code for Agile Data Science 2.0, O'Reilly 2017, Second Edition

Home Page:http://bit.ly/agile_data_science

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot disable Token Authentication for Jupyter Notebook running on Vagrant

javillerenas opened this issue · comments

After connecting to vagrant (using vagrant ssh), an instance of Jupyter Notebook is running (as expected) and accessible through localhost:8888.

The Problem: It requires Token Authentication to log in and even if I change the settings it seems to not be able to be disabled.

Things I have tried:

  1. Find the token by issuing jupyter notebook list (nothing appears on screen)
  2. Create a password doing jupyter notebook password (seems to have no effect)

Thank you everyone 😄

I found a solution. By changing to root from within vagrant and issuing pa aux | grep jupyter you can see that the binary for jupyter notebook is in home/vagrant/anaconda/bin/jupyter.

Thus, you must run /home/vagrant/anaconda/bin/jupyter notebook list for the token to show up.