takluyver / entrypoints

Discover and load entry points from installed packages
https://entrypoints.readthedocs.io/
MIT License
74 stars 29 forks source link

No suitable distribution #6

Closed ltaulell closed 8 years ago

ltaulell commented 8 years ago

Hi,

jupyter-1.0.0 metapackage has a dependency on entrypoints

Trying to install jupyter issue an error on entrypoints:

Searching for entrypoints
Reading https://pypi.python.org/simple/entrypoints/
No local packages or download links found for entrypoints
error: Could not find suitable distribution for Requirement.parse('entrypoints')

Forcing to the whl file does no better:

Processing entrypoints-0.2.2-py2.py3-none-any.whl
error: Couldn't find a setup script in /tmp/easy_install-psn0idx6/entrypoints-0.2.2-py2.py3-none-any.whl

Bests

takluyver commented 8 years ago

That error message indicates that you have a very old version of pip - please upgrade pip first:

pip install --upgrade setuptools pip

And then try installing Jupyter (or entrypoints) again.

ltaulell commented 8 years ago

pip 7.1.2 (and setuptool 20.1.1) is -that- old ? :o) upgraded to pip 8.1.2 => same error

Searching for entrypoints
Reading https://pypi.python.org/simple/entrypoints/
No local packages or download links found for entrypoints
error: Could not find suitable distribution for Requirement.parse('entrypoints')
ltaulell commented 8 years ago

hmm, sorry for that. You're package is just not compatible with easy_install (with --prefix and --install-dir directives).

pip is not always -the- installing solution.

problem solved.

takluyver commented 8 years ago

Ah, right. Yep, pip 7 is definitely new enough, but easy_install is basically dead, and cannot install wheels.