【Python】preparate to use python module.

distribute for packaging

pip for easy installation/removal of packages
virtualenv for nice isolated environments

sudo apt-get install python-dev
curl -O http://python-distribute.org/distribute_setup.py
python distribute_setup.py

curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py
sudo pip install virtualenv

 

【タイムゾーン】sudo pip install pytz

【シリアル】sudo pip install pyserial

 

Leave a Reply