3

I can have already gone through the following questions:

Jupyter notebook command does not work on Mac

After installing with pip, "jupyter: command not found"

None of them helped me. I have installed jupyter and notebook through pip.

The error I get is:

➜  ~ jupyter notebook
zsh: permission denied: jupyter

So, when I sudo it:

➜  ~ sudo jupyter notebook
Password:
sudo: jupyter: command not found
Community
  • 1
  • 1
Dawny33
  • 10,543
  • 21
  • 82
  • 134

1 Answers1

3

you can check a couple of issues:

• Verify you have Python correctly installed. I recommend installing with Homebrew for the right dependencies to be installed too:

brew install python

• You can also install Python and Jupyter Notebook together with the Anaconda package, which installs both them, plus other useful packages for scientific computing and data science:

Anaconda

Santi Pérez
  • 370
  • 4
  • 12
  • Yeah, I have Python installed properly: `/usr/local/bin/python`. I installed jupyter through pip instead of conda as I wanted to use libs like `rpy2` which aren't available in the conda catalogue. – Dawny33 Aug 01 '16 at 09:59
  • Wait. Reinstalling Python from `brew` did the trick. Weird. But, it worked anyway. Thanks :D – Dawny33 Aug 01 '16 at 10:36
  • Homebrew is excellent at solving dependencies for every Mac OS X version, which is tricky somehow. :-) – Santi Pérez Aug 01 '16 at 10:49