默认安装的IDLE和ActivePython都没有easy_install

然后看到有人说Setuptools itself doesn't work on Python 3. But you can use Distribute, a fork and a drop in replacement for setuptools

http://stackoverflow.com/questions/7558518/will-setuptools-work-with-python-3-2-x

然后在(https://pypi.python.org/pypi/distribute)找到下面这段话

distribute_setup.py

Download distribute_setup.py and execute it, using the Python interpreter of your choice.

这个是最简单最推荐的做法,下载这个程序,执行它(在Windows上应该是双击就可以了),它会自动在python安装目录Script中安装easy_install.exe

然后把这个目录加入环境变量(如果不记得python安装目录,打开python shell,import os,然后os.getcwd())

做好之后就可以调出cmd,easy_install numpy看看效果了

easy_install matplotlib会失败,可以到这里下载exe进行安装(http://sourceforge.net/projects/matplotlib/files/matplotlib/

相关文章:

  • 2021-08-01
  • 2022-01-07
  • 2021-06-24
  • 2022-12-23
  • 2021-09-18
  • 2021-06-12
  • 2022-12-23
  • 2021-09-22
猜你喜欢
  • 2021-09-17
  • 2021-09-18
  • 2021-08-10
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
相关资源
相似解决方案