本文主要是介绍pip命令注解,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
pip命令注解,重点看wheel和check
root@020b1eed69d7:~# pip --help
Usage:
pip <command> [options]
Commands:
install Install packages. #安装后面可以跟文件名,或者whl文件,或者连续的依赖文件名
download Download packages. #只下载不安装
uninstall Uninstall packages. #卸载
freeze Output installed packages in requirements format. #以requirements格式列出已安装的模块
list List installed packages. #列出已经安装过的模块
show Show information about installed packages. #查看安装过的模块的具体信息,例如出处、安装路径等
check Verify installed packages have compatible dependencies.#检查依赖性,比如whl文件
config Manage local and global configuration. #配置项
search Search PyPI for packages. #查询
wheel Build wheels from your requirements. #创建一个wheel文件,根据requirements创建wheel
hash Compute hashes of package archives.
completion A helper command used for command completion.
debug Show information useful for debugging.
help Show help for commands.
General Options:
-h, --help Show help.
--isolated Run pip in an isolated mode, ignoring environment variables and user configuration.
-v, --verbose Give more output. Option is additive, and can be used up to 3 times.
-V, --version Show version and exit.
-q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels).
--log <path> Path to a verbose appending log.
--proxy <proxy> Specify a proxy in the form [user:passwd@]proxy.server:port.
--retries <retries> Maximum number of retries each connection should attempt (default 5 times).
--timeout <sec> Set the socket timeout (default 15 seconds).
--exists-action <action> Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.
--trusted-host <hostname> Mark this host or host:port pair as trusted, even though it does not have valid or any HTTPS.
--cert <path> Path to alternate CA bundle.
--client-cert <path> Path to SSL client certificate, a single file containing the private key and the certificate in PEM format.
--cache-dir <dir> Store the cache data in <dir>.
--no-cache-dir Disable the cache.
--disable-pip-version-check
Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index.
--no-color Suppress colored output
--no-python-version-warning
Silence deprecation warnings for upcoming unsupported Pythons.
这篇关于pip命令注解的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!