IJulia Password/Token Requirement


Recently I installed IJulia and discovered that it needed some sort of password or token, neither of which had I created or set. To save anybody else some time here is what I did to set it up.

  1. Check to see if you have a Jupyter configuration file

On Linux it would be in ~/.jupyter/jupyter_notebook_config.py.

If it’s not there then generate it.

Find where Jupyter is installed: Pkg.dir("Conda"). For me Conda was installed in /home/user/.julia/v0.6/Conda and Jupyter was in the subdirectory deps/usr/bin.

At the command line (not REPL) type the following:
~/.julia/v0.6/Conda/deps/usr/bin/jupyter --generate-config

  1. Generate a password

At the command line (not REPL) type the following:
~/.julia/v0.6/Conda/deps/usr/bin/jupyter notebook password

Type in a new password and then repeat it to confirm.

  1. Copy the hashed password

Open the file where the password hash is stored, ~/jupyter/jupyter_notebook_config.json.

Copy the hashed password, including the sha1:… but not the quotes.

  1. Paste the hashed password into the config file

Open the config file, ~/jupyter/jupyter_notebook_config.py.

Paste your hashed password into the password line.

c.NotebookApp.password = u'paste it here'

Next time you open an IJulia notebook you can now use the new password to log in.

The instructions were adapted for Julia from this Jupyter instructions page.


For me, notebook() just opens the correct page with the correct token without any hassle.


It’s the first time I’ve ever seen it ask me for a password or token. I haven’t used IJulia since 0.5.2 though and just installed in on Julia 0.6.0-rc3.0 today. I just assumed it was some new default setting.

Jupyter in my Julia 0.6 install is version 4.3.0 and I just used notebook() to start it as well.