pip的时候加上国内镜像即可: pip install pyqt5==5.12 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com