One - One Code All

Blog Content

python查看安装包的版本

Python   2009-07-20 23:02:05

python查看安装包的版本。


pip list : 简单直接。


pip freeze.


python环境中输入: help(‘modules’) 就能列出所有已经安装的模块了。


查看包下面的模块,视具体的包而定。


>>> numpy.version.version
'1.14.3'


>>> django.VERSION
(2, 0, 6, 'final', 0)


上一篇:Python中查看float数据类型的最大最小值
下一篇:python快速生成列表

The minute you think of giving up, think of the reason why you held on so long.