1,配置环境变量
2,eclipse中执行python代码时报错,根据提示安装setuptools模块
warning: Debugger speedups using cython not found. Run '"D:\Python33\python.exe" "D:\Program Files (x86)\eclipse\plugins\org.python.pydev_4.5.5.201603221110\pysrc\setup_cython.py" build_ext --inplace' to build.
pydev debugger: starting (pid: 9224)
(1)下载ez_setup.py,cmd到存放ez_setup.py的目录,执行python ez_setup.py,脚本会自动识别python版本,并下载setuptools包,若没有自行下载,跟根据cmd中提示的下载地址,手动下载
ez_setup.py下载地址:https://bootstrap.pypa.io/ez_setup.py
(2)下载setuptools
手动下载setuptools地址:https://pypi.io/packages/source/s/setuptools/setuptools-33.1.1.zip
(3)执行 python setup.py install