python 安裝easy_install和pip

easy_install和pip都是用來下載安裝Python一個公共資源庫PyPI的相關資源包的python

1 easy_installgit

下載地址:https://pypi.python.org/pypi/ez_setupgithub

解壓,安裝.curl

python ez_setup.pyurl

2 pipspa

下載地址:https://pypi.python.org/pypi/pipcode

安裝:ip

$ 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 SomePackageget

$ pip install --upgrade SomePackage==version


解壓,安裝.

python setup.py install

相關文章
相關標籤/搜索