pip:强大的Python包管理工具
2013-08-12 11:42
936 查看
转载;http://blog.csdn.net/rumswell/article/details/8838356
pip:强大的Python包管理工具(A tool for installing and managing Python packages.)
Project Page: https://github.com/pypa/pip
安装包(Install a package):
[plain] view
plaincopy
$ pip install SomePackage==1.0
[...]
Successfully installed SomePackage
显示已安装的包(Show what files were installed):
[plain] view
plaincopy
$ pip show --files SomePackage
Name: SomePackage
Version: 1.0
Location: /my/env/lib/pythonx.x/site-packages
Files:
../somepackage/__init__.py
[...]
列出所有过时的包(List what packages are outdated):
[plain] view
plaincopy
$ pip list --outdated
SomePackage (Current: 1.0 Latest: 2.0)
升级一个包(Upgrade a package):
[plain] view
plaincopy
$ pip install --upgrade SomePackage
[...]
Found existing installation: SomePackage 1.0
Uninstalling SomePackage:
Successfully uninstalled SomePackage
Running setup.py install for SomePackage
Successfully installed SomePackage
卸载一个包(Uninstall a package:)
[plain] view
plaincopy
$ pip uninstall SomePackage
Uninstalling SomePackage:
/my/env/lib/pythonx.x/site-packages/somepackage
Proceed (y/n)? y
Successfully uninstalled SomePackage
pip:强大的Python包管理工具(A tool for installing and managing Python packages.)
Project Page: https://github.com/pypa/pip
安装包(Install a package):
[plain] view
plaincopy
$ pip install SomePackage==1.0
[...]
Successfully installed SomePackage
显示已安装的包(Show what files were installed):
[plain] view
plaincopy
$ pip show --files SomePackage
Name: SomePackage
Version: 1.0
Location: /my/env/lib/pythonx.x/site-packages
Files:
../somepackage/__init__.py
[...]
列出所有过时的包(List what packages are outdated):
[plain] view
plaincopy
$ pip list --outdated
SomePackage (Current: 1.0 Latest: 2.0)
升级一个包(Upgrade a package):
[plain] view
plaincopy
$ pip install --upgrade SomePackage
[...]
Found existing installation: SomePackage 1.0
Uninstalling SomePackage:
Successfully uninstalled SomePackage
Running setup.py install for SomePackage
Successfully installed SomePackage
卸载一个包(Uninstall a package:)
[plain] view
plaincopy
$ pip uninstall SomePackage
Uninstalling SomePackage:
/my/env/lib/pythonx.x/site-packages/somepackage
Proceed (y/n)? y
Successfully uninstalled SomePackage
相关文章推荐
- 包升级pip:强大的Python包管理工具
- pip:强大的Python包管理工具
- CentOS中Python pip包管理工具的安装和使用
- Python的包管理工具Pip (zz )
- windows 下python包管理工具pip的安装与使用
- 在mac上安装Python下的模块管理工具pip
- Python的包管理工具Pip
- Python包管理工具pip安装
- python pip管理工具
- 安装Python包管理工具pip及import media
- python包管理工具PyPI (pip)
- Python的包管理工具Pip
- Python的包管理工具Pip
- windows XP下Python2.7包管理工具安装-setuptool,pip、distribute、nose、virtualenv
- python3.5.2安装pip管理工具
- Python的包管理工具pip安装指南
- Python——包管理工具Pip
- Python: Pip包管理工具
- Python包管理工具pip
- Python的包管理工具Pip