轻松安装matplotlib - 缺少脚本easy_install-xrixnr

时间:2011-01-20 07:47:29

标签: installation matplotlib easy-install

在尝试安装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 64bit
知道缺少什么吗?

1 个答案:

答案 0 :(得分:3)

正如instructions

中所述
  1. 安装numpy - 您可以使用easy_install numpy
  2. installation binary
  3. 安装matplotlib
  4. 您还被邀请安装ipython,虽然这不是强制性的 - 您可以使用easy_install ipyhton