pip无法从pypi.python.org找到软件包


0

我正在OSP 10.11上运行通过自制软件安装的python附带的pip v1.5.6

pip install emo例如,当运行时,我得到:

Could not find any downloads that satisfy the requirement emo

pip.log内容为:

------------------------------------------------------------
/usr/local/bin/pip run on Mon Jan  5 11:50:28 2015
Downloading/unpacking emo
  Getting page https://pypi.python.org/simple/emo/
  URLs to search for versions for emo:
  * https://pypi.python.org/simple/emo/
  Analyzing links from page https://pypi.python.org/simple/emo/
  Could not find any downloads that satisfy the requirement emo
Cleaning up...
  Removing temporary dir /private/var/folders/v0/jsnj03_s7kvcf6xt32s_bt_40000gn/T/pip_build_elzi...
No distributions at all found for emo
Exception information:
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", line 1177, in prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/index.py", line 277, in find_requirement
    raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for emo

https://pypi.python.org/simple/emo加载需要很长时间,但实际上确实存在。

知道会发生什么吗?其他软件包,例如“ scapy”,也可以安装。

Answers:


0

emo软件包实际上不存在- 有关详细信息,请参见PyPI页面。它的状态为“计划中”,表示有人注册了软件包名称,但实际上尚未开发该软件包。


我在哪里可以看到?emo是趋势github回购,因此似乎不太可能。我在很多其他软件包中都遇到了此错误。
Elzi 2015年

您可以使用@elzi pip从github存储库进行安装- 有关信息,请参阅文档。或者,您可以克隆存储库,然后python setup.py install在其中运行。
MattDMo
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.