Python的包管理工具Pip
2014-10-14 17:21
405 查看
接触了Ruby,发现它有个包管理工具RubyGem非常好用,而且有非常完备的文档系统http://rdoc.info
发现Python下也有相同的工具,包含easy_install和Pip。只是,我没有细看easy_install的方法,这就简单的介绍一下Pip的安装与使用:
准备:
安装:
用法:
$ pip install --upgrade SomePackage==version
补充:
包安装后的py文件路径:/usr/local/lib/python2.7/dist-packages
发现Python下也有相同的工具,包含easy_install和Pip。只是,我没有细看easy_install的方法,这就简单的介绍一下Pip的安装与使用:
准备:
$ curl -O http://python-distribute.org/distribute_setup.py $ python distribute_setup.py
安装:
$ 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
补充:
包安装后的py文件路径:/usr/local/lib/python2.7/dist-packages
相关文章推荐
- Python的包管理工具Pip
- python 包管理工具pip
- 如何安装pip--python的包管理工具
- Python的包管理工具easy_install, setuptools, pip,distribute介绍
- pip:强大的Python包管理工具
- Python的包管理工具easy_install, setuptools, pip,distribute介绍
- Python的包管理工具easy_install, setuptools, pip,distribute介绍
- Python的包管理工具Pip
- 安装Python包管理工具pip及import media
- Python的包管理工具easy_install, setuptools, pip,distribute介绍
- Python的包管理工具Pip
- Python 的包管理工具 distribute, setuptools, easy_install 与 pip
- windows 下python包管理工具pip的安装与使用
- win7下安装pip——Python的包管理工具
- 包升级pip:强大的Python包管理工具
- 【转载】Python的包管理工具Pip
- Python的包管理工具easy_install, setuptools, pip,distribute介绍
- Python: Pip包管理工具
- python包管理工具pip
- 【Python】Python的包管理工具Pip