Jupyter command not found in terminal

31 views
Skip to first unread message

Mantegh Sethi

unread,
Dec 8, 2018, 8:56:18 AM12/8/18
to Project Jupyter
Hello, I am new to Python 3, running on Mac OS X.

I have been trying to install Jupyter using pip. I believe I have done this successfully, as when I check the installation in terminal it is there and already installed. 

However, when I run 'jupyter notebook' in terminal, I get the message: 'jupyter: command not found'.

From some online reading, I have seen this might be due to path issues, but am not sure how to resolve this.

Any help would be appreciated!!
M

Mantegh Sethi

unread,
Dec 8, 2018, 9:07:30 AM12/8/18
to Project Jupyter
UPDATE:

The location is as below, but at present I have to enter this entire thing to load up the notebook.

/Users/mantegh/Library/Python/3.7/bin/jupyter-notebook


Is there any way I can do this by just entering 'jupyter-notebook'??


M

Mike Metzger

unread,
Dec 8, 2018, 9:52:01 AM12/8/18
to jup...@googlegroups.com
It sounds like your path hasn't been updated.  I'd try opening a new terminal window and see if it works there (this forces a reload of your profile / rc scripts).  If it does, you should be good in the future.  If it doesn't, in the terminal try:

echo $PATH

You should see /Users/mantegh/Library/Python/3.7/bin/ included.  It's likely not so you'll need to add it to your .bash_profile.  Add a line that says something like:

export PATH="/Users/mantegh/Library/Python/3.7/bin/:$PATH"

Save the file and restart the terminal window.  Run echo $PATH again and you should see the path as above.  It should work as expected after that.

Thanks!

Mike

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/cae1fcaf-e711-4353-b497-6e94c19421f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mantegh Sethi

unread,
Dec 8, 2018, 2:53:25 PM12/8/18
to Project Jupyter
Fantastic, many thanks!!

M
Reply all
Reply to author
Forward
0 new messages