这个问题是在运行一个pyqt写的GUI时遇到,问题原因是没有pyqt5的环境,解决办法是安装pyqt5-tools。 问题原文 WARNING: The scripts pylupdate5.exe, pyrcc5.exe and pyuic5.exe are installed in 'C:\Users\david\AppData\Roaming\Python\Python311\Scripts' which is not on PATH 解决方法 安装pyqt5-tools。 pip install pyqt5-tools