首页 > 其他 > 详细

pip使用手册

时间:2018-08-13 19:33:54      阅读:157      评论:0      收藏:0      [点我收藏+]
pip是python环境的包管理工具,用它可以方便地管理第三方包,其功能类似于Linux系统下的yum或apt-get。

pip的安装步骤请参考Centos下安装python及配置selenium自动化环境

常用命令:

To list all the options that pip can use:

>>> pip --help

Search packages from the PyPi repository:

>>> pip search package

Install PyPi packages:

>>> pip install package                    //by default, pip will install the latest version of packages

Specify the particular version of package you plan to install:

>>> pip install package==1.0.4              //specific version

Check the detailed installed folders and files:

>>> pip show --files package

Check which packages are out of date and need updating:

>>> pip list --outdated

List out all the installed packages:

>>> pip list

Update package:

>>> pip install -U package         or          pip install --upgrade package

Remove package:

>>> pip uninstall package


pip使用手册

原文:http://blog.51cto.com/taoismli/2159242

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!