使用python时,pip、easy_install等都是非常好用的工具,相当于自带第三方库,只要有网,就可以安装任何python相关的包
安装
#pip 下载
# wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate
#安装
tar zxf pip-1.5.4.tar.gz
cd pip-1.5.4
./configure
make & make install
基本使用
show installed
# pip show --files SomePackage
Name: SomePackage
Version: 1.0
Location: /my/env/lib/pythonx.x/site-packages
Files:
../somepackage/__init__.py
[