PyQt4 on Mavericks with Python 3

I made a python application in Xubuntu that I am trying to run on Mavericks now. The project uses PyQt4 for its part of the GUI. I am currently trying to install PyQt4 on Mavericks and get the following error on startup brew install pyqt:

Error: Qt currently requires --HEAD on Mavericks

I was looking for a solution for this or what it means. I have never seen this error before. So my next option is to try installing manually instead. I downloaded the project, went into the directory and started sudo python3 configure.py, but it does not install, and I get this error:

Error: Make sure you have a working Qt qmake on your PATH or use the -q
argument to explicitly specify a working Qt qmake.

Is there a way to get PyQt on Mavericks to work correctly so that I can run my application?

+3
source share
1 answer

, pyqt mavericks, python 3:

brew install python3
brew install qt
brew install sip --with-python3
brew install pyqt --with-python3

.bash_profile:

PYTHONPATH=/usr/local/lib/python3.3/site-packages:$PYTHONPATH

.

+3

All Articles