0

i am using macbook pro os x El Capitan version 10.11.6, i just started learning python and i installed python 3x on my computer then i tried to install jupyter. after running the command:

pip3 install jupyter

every thing worked fine but when i try to run the command:

jupyter notebook

i get the following error:

-bash: jupyter: command not found

i also tried: python3 -m jupyter notebook

Error executing Jupyter command 'notebook': [Errno 2] No such file or directory

Can any one help?

4
  • I thin you need to edit your .bash_profile.
    – Sam Chats
    Sep 2, 2017 at 16:22
  • Please explain further @Sam Chats because i have tried to add the path of the jupyter to my $PATH and still not working. So i will greatly appreciate if further explanation is given because i am relatively new to unix environment thanks. Sep 2, 2017 at 17:03
  • 1
    I fixed the issue by Navigating to /Applications/Python 3.6 in finder and double clicking on "Update Shell Profile.command" Sep 2, 2017 at 20:10
  • Well then, add it as an answer and accept it :)
    – Sam Chats
    Sep 3, 2017 at 5:14

1 Answer 1

1

If you navigate to the jupyter.exe file and run jupyter notebook, does that work?

I had the same error in Windows 10. What worked for me was putting jupyter in the environment variables path,

e.g.:

C:\Anaconda\Scripts\.

For Mac, +1 for the bash comment. Might consider adding the jupyter path to your .bash file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.