编译安装(假定下载到了Downloads目录),打开终端(control+space,搜索terminal并回车)
使用"cd 路径"命令将当前目录设为Downloads
cd ~/Downloads
解压
tar -zxvf sip-4.14.7.tar.gz
压缩包将被解压到Downloads/sip-4.14.7目录,切换至该目录
cd sip-4.14.7
开始编译
python configure.py
make
sudo make install
参考资料:
http://demidroid.blog.51cto.com/2954092/1557859
https://www.phodal.com/blog/pyqt5-mac-os-install/
http://www.pythoner.cn/home/blog/mac-os-x-lion-pyqt/