easy_install和pip都是用来下载安装Python一个公共资源库PyPI的相关资源包的
1 easy_install
下载地址:
解压,安装.
python ez_setup.py
2 pip
安装:
$ curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py$ python get-pip.py
使用方法:
$ pip install SomePackage
$ pip search "query"
$ pip install --upgrade SomePackage
$ pip install --upgrade SomePackage==version
解压,安装.
python setup.py install