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