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