ver*_*joe 12 python windows python-2.7
我是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
Run Code Online (Sandbox Code Playgroud)
但我得到了这个错误.我怎么解决这个问题?
我也想知道之间的区别easy_install和pip.
您现在应该可以使用 pip 安装 NumPy:
pip install numpy
Run Code Online (Sandbox Code Playgroud)
或者使用康达:
conda install numpy
Run Code Online (Sandbox Code Playgroud)
至于easy_install和pip的区别,首先是easy_install。Python 社区中的人们意见分歧,pip 诞生了。Pip 基本上只是 easy_install 的替代品。请参阅以下内容以更好地比较两者: