网站制作学习网Python→正文:python查看pip安装模块以及版本
字体:

python查看pip安装模块以及版本

Python 2023/9/25 21:49:16  点击:不统计

<本文原载于www.forasp.cn>
 python查看pip 已经安装的所有模块的版本,命令如下

 >pip list --outdated
输出结果如下,你会看到目前python pip 安装的所有模块,以及当前安装版本,后面是最新版本。
 Package                      Version Latest       Type
---------------------------- ------- ------------ -----
absl-py                      1.3.0   2.0.0        wheel
aliyun-python-sdk-core       2.13.36 2.14.0       sdist
aliyun-python-sdk-kms        2.16.0  2.16.2       wheel
anyio                        3.6.2   4.0.0        wheel
attrs                        22.2.0  23.1.0       wheel
cachetools                   5.2.0   5.3.1        wheel
.......
 
查看已经安装的版本,指定扩展比如 setuptools
 pip list --outdated |grep setuptools
 
 以上就是python 查看安装pip 模块版本

%77w%77%2E%66%6F%72%61%73%70%2E%63%6E

·上一篇: mac pyenv install太慢 >>    ·下一篇:Ubuntu安装rpm >>
推荐文章
最新文章