Installing Pyqt4 In A Virtualenv
I am trying to install PyQT4 in a virtualenv. I am running Python3.2.1. Here's what I've done so far: sudo apt-get install qt4-dev-tools this worked fine I downloaded PyQt-x11-gpl
Solution 1:
I always install all these libs before installing PyQt4:
sudo apt-get install libqt4-assistant libqt4-core \
libqt4-dbg libqt4-dbus libqt4-designer libqt4-dev \
libqt4-gui libqt4-help libqt4-network libqt4-opengl \
libqt4-qt3support libqt4-script \
libqt4-svg libqt4-test libqt4-webkit libqt4-webkit-dbg \
libqt4-xml libqt4-xmlpatterns libqt4-xmlpatterns-dbg \
libqtcore4 libqtgui4 qt4-demos qt4-designer qt4-dev-tools \
qt4-doc qt4-doc-html qt4-qtconfig qtcreator libqtwebkit-dev \
qt4-qmake cmake r-base-dev libcurl4-gnutls-dev
You can verify qt version by:
qmake --version
Other than that I don't see any problems, I posted this as answer just because the library list can't fit into a comment nicely... Oh and one other thing, you should compile and install sip first, and after that PyQt4
Solution 2:
It seems the problem is a bug in configure.py file. To solve it simply make sure PyQt source files are located in a path without spaces.
See here for more info: How to install PyQt on Mac OS X 10.6
Post a Comment for "Installing Pyqt4 In A Virtualenv"