Skip to content

Instantly share code, notes, and snippets.

@lrhache
Last active August 29, 2015 13:58
Show Gist options
  • Save lrhache/9986373 to your computer and use it in GitHub Desktop.
Save lrhache/9986373 to your computer and use it in GitHub Desktop.
PyQt in virtualenv
mkdir lib
cd lib
wget http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.10.4/PyQt-x11-gpl-4.10.4.tar.gz
tar xvf PyQt-x11-gpl-4.10.4.tar.gz
cd PyQt-x11-gpl-4.10.4/
python configure.py
make && make install
wget http://sourceforge.net/projects/pyqt/files/sip/sip-4.15.5/sip-4.15.5.tar.gz
tar xvf sip-4.15.5.tar.gz
cd sip-4.15.5
python configure.py --incdir=<venv>/include/python2.7
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment