python 模块 版本_如何检查python模块的版本?

本文介绍了如何使用Python的包管理器PIP来检查已安装模块的版本。除了直接使用`pip show`命令,还提到了一种不使用PIP的验证方法,但当需要检查多个模块版本时,使用PIP的方法更为便捷。
摘要由CSDN通过智能技术生成

python 模块 版本

The ideal way of installing python libraries are using PIP (Python Package Manager). PIP provides an option to verify the version of the installed modules.

安装python库的理想方法是使用PIP(Python软件包管理器)。 PIP提供了一个选项来验证已安装模块的版本。

The command to use to verify the version of the installed modules is:

用于验证已安装模块版本的命令为

    pip freeze

(venv) bash$:src XYZ$ pip freeze
notebook==6.0.2
numpy==1.17.2
openpyxl==3.0.2
pandas==0.25.3
pandocfilters==1.4.2
parso==0.5.2
pexpect==4.7.0
pickleshare==0.7.5
prometheus-client==0.7.1
prompt-toolkit==3.0.2
ptyprocess==0.6.0
Pygments==2.5.2
pynb==0.1.36
pyrsistent==0.15.6
python-dateutil==2.8.1
pytz==2019.3
pyzmq==18.1.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值