我是学Python的新手。我安装了Python 2.7.10,它已经附带了pip
。我试图运行这个命令来下载NumPy库。
D:\workspace\python>pip install numpy
Collecting numpy
Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy
但我犯了个错误。我该怎么解决?
我还想知道easy_install
和pip
之间的区别。
两步
pip install lightfm --upgrade --ignore-installed scipy
我以前遇到过同样的问题,下面的操作帮助我解决了这个问题。希望它能帮助你。
只需运行
我建议您只下载NumPy安装程序,而不是从源代码安装,除非您有特殊需要。适用于NumPy 1.9.2的Windows安装程序可以在以下位置找到:
至于easy_install和pip的区别,easy_install是第一位的。Python社区的人有不同的意见,pip诞生了。Pip基本上只是简单安装的替代品。关于两者的良好比较,请参见以下内容:
相关问题 更多 >
编程相关推荐