python pip:完全找不到现有软件包的发行版 [英] python pip: no distributions at all found for an existing package

查看:85
本文介绍了python pip:完全找不到现有软件包的发行版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将ScientificPython软件包安装到Fedora 14 x64系统上新安装的Python发行版中. Pip在存储库中找到ScientificPython,但不想安装

I am trying to install the ScientificPython package into a newly installed distribution of Python on a Fedora 14 x64 system. Pip finds ScientificPython in the repository but does not want to install it

[bin]$ sudo ./python2.7 ./pip search ScientificPython
ScientificPython          - Various Python modules for scientific computing

[bin]$ sudo ./python2.7 ./pip install ScientificPython
Downloading/unpacking ScientificPython
  Could not find any downloads that satisfy the requirement ScientificPython
No distributions at all found for ScientificPython
Storing complete log in /tmp/tmpDLdmjy

为什么会这样?

谢谢!

推荐答案

看看 ScientificPython条目上pypi ,您会发现它仅包含指向其项目页面的链接,没有可下载的软件包或egg(需要从中安装pip).这就是为什么pip告诉您Could not find any downloads.您将必须按照他们的指示手动安装.

Have a look at the ScientificPython entry on pypi and you will find that it only contains a link to their project page, no downloadable package or egg (which pip would need to install from). That's why pip told you Could not find any downloads. You will have to install by hand following their instructions.

底线:如果pip search列出了给定的软件包,但不一定意味着您可以pip install(大多数情况下您可以这样做).

Bottom line: if pip search lists a given package that doesn't necessarily mean you can pip install it (in most cases you fortunately can).

这篇关于python pip:完全找不到现有软件包的发行版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆