Error: PyQt5 requires Qt v5.0 or later. You seem to be using v4.8.7. Use the --qmake flag to specify the correct version of qmake.
时间: 2024-03-27 14:38:09 浏览: 13
这是一个错误提示,说你使用的 PyQt5 版本需要 Qt 5.0 或更高版本,但是你的 Qt 版本是 4.8.7。你需要使用 --qmake 标志来指定正确的 qmake 版本。qmake 是 Qt 的一个工具,用于自动生成 Makefile 文件。你可以使用以下命令来指定正确的 qmake 版本:
```
pip install PyQt5 --qmake /path/to/qmake
```
其中,/path/to/qmake 是你想要使用的 qmake 可执行文件的路径。