Maximum number of retries each connection shouldattempt (default 5 times).--timeoutSet the socket timeout (default 15 seconds).--exists-actionDefault action when a path already exists: (s)witch,(i)gnore, (w)ipe, (b)ackup, (a)bort.--trusted-hostMark this host or host:port pair as trusted, eventhough it does not have valid or any HTTPS.--certPath to alternate CA bundle.--client-certPath to SSL client certificate, a single filecontaining the private key and the certificate in PEMformat.--cache-dir Store the cache data in .--no-cache-dirDisable the cache.--disable-pip-version-checkDon't periodically check PyPI to determine whether anew version of pip is available for download. Impliedwith --no-index.--no-colorSuppress colored output--no-python-version-warningSilence deprecation warnings for upcoming unsupportedPythons.4.2 查看pip指定命令的详细描述一、描述:可以通过pip help 命令来查看指定命令的的详细描述(用法、描述、常用选项) 。
二、语法:
pip help 三、示例:以通过pip help help命令来查看pip help的详细描述(用法、描述、常用选项)为例
C:\>pip help helpUsage:pip help Description:Show help for commandsGeneral Options:-h, --helpShow help.--isolatedRun pip in an isolated mode, ignoring environment variables and user configuration.-v, --verboseGive more output. Option is additive, and can be used up to 3 times.-V, --versionShow version and exit.-q, --quietGive less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels).--logPath to a verbose appending log.--proxySpecify a proxy in the form [user:passwd@]proxy.server:port.--retries Maximum number of retries each connection should attempt (default 5 times).--timeoutSet the socket timeout (default 15 seconds).--exists-actionDefault action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.--trusted-hostMark this host or host:port pair as trusted, even though it does not have valid or any HTTPS.--certPath to alternate CA bundle.--client-certPath to SSL client certificate, a single file containing the private key and the certificate in PEM format.--cache-dir Store the cache data in .--no-cache-dirDisable the cache.--disable-pip-version-checkDon't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index.--no-colorSuppress colored output--no-python-version-warningSilence deprecation warnings for upcoming unsupported Pythons.4.3 安装最新版本的软件包一、描述:
可以通过pip install命令来安装指定的Python第三方软件包(最新版本) 。
二、语法:
# 语法1: 进行全局安装 pip install# 语法2: 仅进行该用户安装(以下--user选项两种放置位置的效果一样) pip install--user pip install --user注1:pip安装时会计算该软件包的依赖包 , 如果没有冲突 , 会一并将该依赖包也一起安装了 。
注2:上述语法1中不含--user选项:表示进行全局安装 , 安装后本机所有用户均可使用该软件包 。 上述语法2中增加--user选项:表示仅进行该用户安装 , 安装后本机仅有该用户可使用该软件包 。
推荐阅读
-
-
国际人物志救出她后得知她被囚禁了8个月,智利警察接到15岁少女的求助电话
-
为何老人常说黄鼠狼不能杀 ?科学研究表明,原来是真的不能杀
-
男子开车900公里,找女网红在车上“题字”,永远不洗车
-
「笑笑养生」以下4种食物对胎儿发育不利,嘴再馋也别碰,怀孕的需要特别注意
-
封面风尚|鲍蕾气质也太甜了,全黑穿搭秀“竹竿”身材,和陆毅同框似少女
-
-
特朗普为枪杀抗议者的少年辩护|特朗普为枪杀抗议者的17岁白人少年辩护 暗示他的行为可能出于自卫
-
-
长效保鲜有多长?美菱M鲜生“黛蓝灰”冰箱天猫首发揭秘!
-
联想笔记本从iPhone8换成联想拯救者Pro,买前犹豫不决,买后直呼真香
-
帕奇斯|炉石战棋迎地震级更新,3大古神加入酒馆,恩佐斯是馆长师傅?
-
未解之谜:作为世界十大禁地之一,昆仑山深处隐藏了何等秘密?
-
-
庆林聊科技|性能提升25%,是否实现魅族反超,魅族17正式推出!搭载骁龙865
-
「苹果科技猫修行」iPhone XS Max手机换摄像头维修教程
-
-
-
中国新闻网客户端|长江上游源头区监测以来水质持续达优
-
Apple|最新Apple Watch功能曝光,支持睡眠监测和儿童模式