Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error launching iPython #3314

Closed
chasingtheflow opened this issue May 13, 2013 · 2 comments
Closed

Error launching iPython #3314

chasingtheflow opened this issue May 13, 2013 · 2 comments
Milestone

Comments

@chasingtheflow
Copy link

I'm getting the following traceback when I try to launch iPython ... any ideas? Using brew's default python, ie brew install python.

 ~> ipython 
Traceback (most recent call last):
  File "/usr/local/bin/ipython", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module>
    working_set.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: ipython==0.13
 ~> 
@minrk
Copy link
Member

minrk commented May 13, 2013

you have an ipython on your PATH, Python doesn't have an IPython version 0.13 anywhere on its import path. Make sure that when you install IPython, you install it with the right Python (e.g. easy_install --upgrade ipython), and be mindful of the output, and compare with which ipython.

@chasingtheflow
Copy link
Author

@minrk Thanks for the tip. Found an ipython script in /usr/local/bin/ -- not entirely sure how/what put it there but removing it and reinstalling python via brew with appropriate PATH updates worked nicely. Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants