简体   繁体   English

安装 python 3.9 的 pip 是什么版本?

[英]What is the version of pip installed with python 3.9?

Any version of Python >= 3.4 installed from the official python.org includes pip.从官方 python.org 安装的 Python >= 3.4 的任何版本包括 pip。

But I couldn't find what is the default version of pip that "comes" with python 3.9?但我找不到 python 3.9“附带”的 pip 的默认版本是什么? and is there a difference if I install it on a system with an older python version, and an exiting pip?如果我将它安装在具有较旧 python 版本和现有 pip 的系统上,是否有区别?

I couldn't find an answer on google, and when I installed py3.9 on my pc, the pip3.9 is pip 9.0.1, which is the same as before, so I suspect if a pip3 version exists it does not update it.我在google上找不到答案,当我在我的电脑上安装py3.9时,pip3.9是pip 9.0.1,和以前一样,所以我怀疑是否存在pip3版本它不会更新它。

pip3 --version 

That comando will show you the answer那个comando会告诉你答案

pip3 -V or pip3 --version will give you the answer pip3 -Vpip3 --version会给你答案

As Axe319 commented:正如 Axe319 评论的那样:

According to docs.python.org/3/library/ensurepip.html the latest stable version is always bundled (today it is 21.0.1)根据 docs.python.org/3/library/ensurepip.html 始终捆绑最新的稳定版本(今天是 21.0.1)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM