ImportError: entry point ("console_scripts", "easy_install") not found

I try to install the package, and one of the instructions is the following, but I get an error.

easy_install -U distribute pip
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/bin/easy_install", line 9, in <module>
    load_entry_point('distribute', 'console_scripts', 'easy_install')()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-3.4.1-py2.7.egg/pkg_resources.py", line 351, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-3.4.1-py2.7.egg/pkg_resources.py", line 2362, in load_entry_point
    raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('console_scripts', 'easy_install') not found
make: *** [install] Error 1

Looking at other similar questions, I still do not understand the solution, but it seems to be some kind of problem with the Python version or installation?

+4
source share
2 answers

The problem is probably in several installed versions related to installation through aptitude and pip / easy_install. It helps me:

pip uninstall <package>
sudo pip uninstall <package>
sudo aptitude remove <package>

then reinstall it ...

+3
source

, , , - . pip sudo , . , , . , . finder, , , .

0

Source: https://habr.com/ru/post/1535088/


All Articles