python - ipython on MacOS 10.10 - command not found -


i'm trying ipython working in mac os 10.10.

problem:

$ ipython 

returns

-bash: ipython: command not found 

context:

i'm running python2.7 on macos 10.10. installed python via brew. info:

which python =

/usr/local/bin/python 

brew info python =

python: stable 2.7.10 (bottled), head interpreted, interactive, object-oriented programming language https://www.python.org /usr/local/cellar/python/2.7.10_2 (4977 files, 77m) * 

to install ipython ran

pip install ipython[all] 

so... pip show ipython =

--- metadata-version: 2.0 name: ipython version: 4.0.0 summary: ipython: productive interactive computing home-page: http://ipython.org author: ipython development team author-email: ipython-dev@scipy.org license: bsd location: /usr/local/lib/python2.7/site-packages requires: traitlets, pickleshare, simplegeneric, decorator, gnureadline, appnope, pexpect 

finally, echo $path =

/users/[username]/depot_tools:/usr/local:/usr/local/lib:/users/[username]/depot_tools:/usr/local:/usr/local/lib:/usr/local/lib/python2.7/site-packages:/users/[username]/depot_tools:/usr/local:/usr/local/lib:/usr/local/git/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/x11/bin 

can tell me i'm doing wrong?

i trying install jupyter 'pip install jupyter'. http://jupyter.readthedocs.org/en/latest/install.html

then got similar error on running ipython. did try solutions on stackoverflow installing ipython.

at last, installed anaconda run conda install jupyter. works fine.

my environment:

  1. python 2.7
  2. mac os x el capitan

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -