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

pip3 causes ImportError: Entry point ('console_scripts', 'pip3') not found #739

Closed
keevee09 opened this issue Oct 17, 2016 · 6 comments
Closed

Comments

@keevee09
Copy link

pip3 commands are failing lately.
System: Mac OS X El Capitan 10.11.6 with homebrew installed python3.5.2_3

tony@Macintosh:~$ pip3 list
Traceback (most recent call last):
  File "/usr/local/bin/pip3", line 9, in <module>
    load_entry_point('pip==8.1.2', 'console_scripts', 'pip3')()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 542, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2568, in load_entry_point
    raise ImportError("Entry point %r not found" % ((group, name),))
ImportError: Entry point ('console_scripts', 'pip3') not found

I'm uncertain if this is a pyenv issue.

Tried: $ brew uninstall python3 && brew install python3
Tried: $ /usr/local/Cellar/python3/3.5.2/bin/python -m pip -U --force-reinstall pip

@keevee09
Copy link
Author

... the solution:
$ /usr/local/Cellar/python3/3.5.2_3/bin/python3 -m pip install --upgrade --force-reinstall pip

$ pip3 list and other pip3 commands now work as expected.

@joshfriend
Copy link
Member

TFW opening a github issue makes you immediately realize a solution to your problem...

@keevee09
Copy link
Author

Yes. I feel suitably chagrined :)

methane pushed a commit to methane/pyenv that referenced this issue Nov 1, 2016
@medington
Copy link

FYI, this appears to work for Python2 installed via Homebrew as well. In my case pip got busted when I upgraded from Python 2.7.13 to Python 2.7.14. I used this to fix it:

/usr/local/Cellar/python/2.7.14/bin/python2 -m pip install --upgrade --force-reinstall pip

@Unliklll
Copy link

Unliklll commented Nov 12, 2018

image
我用conda装的python3.6 又成功安装了pip3,请问一下,哪位大神知道遇到这个问题该怎么解决??

@brianbrix
Copy link

sudo python3 -m pip install --upgrade --force-reinstall pip

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

5 participants