网上找了不外乎2种方法:
1、换国内源安装
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt5
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt5-tools
2、目录和文件名的问题
(1)新的designer.exe更名为pyqt5designer.exe,在C:UsersxxAppDataLocalProgramsPythonPython37Scripts下
(2)designer.exe文件目录变为%python_home%Libsite-packagesqt5_applicationsQtbin
其实还有一种简单的方法:
直接命令行执行pyqt5-tools.exe designer即可启动



