2

I'm running Ubuntu 16.04 and installed jupyter using pip3 install jupyter as described on the jupyter.org website.

The install appeared to work without issue. There were no missing zeromq references as reported in some other forum posts.

But I had two issues:

  1. There's no jupyter command installed. I launched jupyter using:

    python3 ~/.local/lib/python3.5/site-packages/jupyter.py notebook
    
  2. The app failed to start after issuing the following message:

    jupyter: 'notebook' is not a Jupyter command.
    

I prefer to keep the install fairly minimal so I'm avoiding going the anaconda route.

Any suggestions would be appreciated.

David Foerster
  • 35,754
  • 55
  • 92
  • 145
M. Krajnak
  • 61
  • 1
  • 5

1 Answers1

2

Playing around a little bit I discovered the .local/bin directory (apparently my linux sys admin knowledge needs an update).

Running jupyter out of ~/.local/bin seems to work fine.

David Foerster
  • 35,754
  • 55
  • 92
  • 145
M. Krajnak
  • 61
  • 1
  • 5
  • 1
    If you are using `pip install` with `--user` option then you should [add `~/.local/bin` to your `$PATH`](http://askubuntu.com/q/60218/3712) – jfs Apr 24 '16 at 21:15
  • Yes, understanding where it was installed was the difficult part. Incidentally I ran pip from my user account without --user and the install was still in .local, I assume because the account I ran from didn't have root permissions. – M. Krajnak Apr 30 '16 at 03:03
  • [the upstream `pip` issue](https://github.com/pypa/pip/issues/1668) is still open. Though Ubuntu's version defaults to `--user` outside virtualenv since Ubuntu 15.04. See [LP #1419695](https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1419695). – jfs Apr 30 '16 at 03:38