ine@mit software and mathematics

4Oct/130

Non-macports PyQt4 Install on OSX 10.8.5

just some quick notes

$ sudo port install py-pyqt4

isaac@Archimedes ~/D/P/g/g/qtgui (grcqt)» pyuic4-2.7 BlockLibrary.ui > ui_BlockLibrary.py
------------------------------------------------------------
isaac@Archimedes ~/D/P/g/g/qtgui (grcqt)» pyuic4-2.7 MainWindow.ui > ui_MainWindow.py

isaac@Archimedes ~/D/P/gnuradio (grcqt) [127]» bash 127
bash-3.2$ export PYTHONPATH=/Users/isaac/Documents/Programming/gnuradio

downloaded sip-4.15.2.tar.gz
extracted,
$python configure.py
$make
$sudo make install

then use pass the sip location

$ python configure-ng.py --sip /Users/isaac/Downloads/sip-4.15.2/sipgen/sip

but finally...this worked so those middle steps weren't necessary
$ sudo port select --set python python27

then $python
>>> import PyQt4

worked

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.