首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >如何检查python模块的版本?

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

Stack Overflow用户
提问于 2013-11-25 04:25:02
回答 27查看 1.4M关注 0票数 845

我刚刚安装了python模块:constructstatlib使用setuptools如下所示:

# Install setuptools to be able to download the following
sudo apt-get install python-setuptools

# Install statlib for lightweight statistical tools
sudo easy_install statlib

# Install construct for packing/unpacking binary data
sudo easy_install construct

我希望能够(以编程方式)检查他们的版本。是否有等同于python --version我可以从命令行运行吗?

我的python版本是2.7.3

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20180543

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档