<一> 下载压缩包到相应文件目录中,解压,打开CDM,cd进入所需安装包的setup.py所在的文件目录,然后输入 python setup.py install
<二> setuptools提供easy_install脚本用来安装egg包,也可以自动从PyPI上下载相关的包,并完成安装和升级,打开CDM,输入 easy_install xxx(包名)
<三> 可以先通过easy_install来安装pip,相应的命令是 easy_install pip,通过pip来安装包,打开CDM,输入 pip install xxx(包名)
The Python Package Index(PyPI) is a repository of software for the Python programming language. There are currently 49419packages here.