在尝试安装 matplotlib 时,我收到以下错误消息(见底部):
C:\Users\UserName>easy_install matplotlib
Searching for matplotlib
Reading http://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.sourceforge.net
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3/
Reading http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/
Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/
Best match: matplotlib 1.0.1-r0
Downloading http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/matplotlib-1.0.1_r0-py2.6-win32.egg/download
Processing download
error: Couldn't find a setup script in c:\users\username\appdata\local\temp\easy_install-xrixnr\download
环境:Python 2.6,Win7 64位
知道缺少什么吗?
最佳答案
如 instructions 中所述:
- 安装 numpy - 你可以使用
easy_install numpy
- 从 installation binary 安装 matplotlib
- 还邀请您安装 ipython ,尽管这不是强制性的——您可以使用
easy_install ipyhton
关于installation - 轻松安装 matplotlib - 缺少脚本 easy_install-xrixnr,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4744609/