1.下載pyqt,qt,sip
qt: http://mirrors.ustc.edu.cn/qtproject/archive/qt/5.0/5.0.2/qt-mac-opensource-5.0.2-clang-offline.dmg
sip:https://sourceforge.net/projects/pyqt/files/sip/sip-4.18.1/sip-4.18.1.tar.gz
pyqt:http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.4/PyQt-mac-gpl-4.11.4.tar.gz
2.安裝
先安裝界面安裝qt
安裝 sip??
? cd {sip_dir}?
? ? python configure.py -d /Library/Python/2.7/site-packages
? ? make &&make install
再安裝pyqt
python configure-ng.py