pip install numpy不起作用:“找不到匹配的分配”

我是Python的新手。 我安装了Python 2.7.10,它已经与pip 。 我试图运行这个命令来下载NumPy库。

D:workspacepython>pip install numpy
Collecting numpy
  Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy

但是我得到了这个错误。 我该如何解决这个问题?

我也想知道easy_installpip之间的区别。


我建议下载NumPy安装程序,而不是从源代码安装它,除非您有特殊需要。 NumPy 1.9.2的Windows安装程序可以在这里找到:

  • http://sourceforge.net/projects/numpy/files/NumPy/1.9.2/
  • 至于easy_install和pip之间的区别,easy_install最先出现。 Python社区中的人们有意见分歧,pip诞生了。 Pip基本上是easy_install的替代品。 请参阅以下内容以便比较两者:

  • https://packaging.python.org/en/latest/pip_easy_install.html

  • 我遇到过同样的问题。 我做了几次pip install numpy然后工作

    链接地址: http://www.djcxy.com/p/27997.html

    上一篇: pip install numpy doesn't work: "No matching distribution found"

    下一篇: How does the default comparator work in C#?