python3 easy_install on win32

默认安装的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/

原文地址:https://www.cnblogs.com/fstang/p/2988396.html