John Barrett
John Barrett

Reputation: 103

installing jupyter notebooks on macOS

when I do a pip install jupyter notebook, which it seems to install and then I run "jupyter notebook" it tells me that "zsh: command not found: jupyter"

Also does it matter using zsh on macOS?

Any suggestions too fix this issue? Thanks! Johnny

Upvotes: 1

Views: 910

Answers (2)

Michał Słodki
Michał Słodki

Reputation: 168

I faced a similar problem. If you've installed it using --user try to add to your path variable in .zshrc a path like this /Users/<name_of_your_user>/Library/Python/3.8/bin. Replace <name_of_your_user> with name of the user and maybe you have another version of python and the folder 3.8 should be replaced with the corresponding version. It helped me. Please check if that works for you and mark the question as solved if it did.

Upvotes: 0

Rich
Rich

Reputation: 11

Make sure where juypter was installed is on your execution path in the zsh shell. (If "which jupyter" doesn't list a valid path, then that's your problem. :)

Should look something like this, but with the location on your machine:

(jupyter) c-67-188-202-51{rich:~/src/python/udemy/completePythonBootcamp} which jupyter
/Users/rich/src/python/udemy/completePythonBootcamp/jupyter/bin/jupyter

Upvotes: 1

Related Questions