我刚安装的Python模块:construct
并statlib
用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
。
pip list