python 查看安装的第三方库的版本号

方法1

>>> import logging
>>> logging.__version__
'0.5.1.2'

方法2

pip show flask

python 查看安装的第三方库的版本号_第1张图片

你可能感兴趣的:(python)