install sip
wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.13/sip-4.19.13.tar.gz
tar xzvf-sip-4.19.13.tar.gz
cd sip-4.19.13.tar.gz
python configure.py -b $HOME/local/bin -d $HOME/local/lib/python2.7/site-packages -e $HOME/local/include
make
make install
install qt4
wget https://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12.3/PyQt4_gpl_x11-4.12.3.tar.gz
tar xzvf-PyQt4_gpl_x11-4.12.3.tar.gz
cd PyQt4_gpl_x11-4.12.3
python configure.py --sip-module PyQt4.sip --no-dist-info --no-tools -b $HOME/local/bin -d $HOME/local/lib/python2.7/site-packages
make
make install