私は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
