当前位置: 代码迷 >> 综合 >> pyqt5报错——ERROR: pip‘s dependency resolver does not currently take into account all the packages that
  详细解决方案

pyqt5报错——ERROR: pip‘s dependency resolver does not currently take into account all the packages that

热度:47   发布时间:2023-11-22 09:05:47.0

报错:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pyqtwebengine 5.15.4 requires PyQt5>=5.15.4, but you have pyqt5 5.15.2 which is incompatible.
pyqt5-plugins 5.15.4.2.2 requires pyqt5==5.15.4, but you have pyqt5 5.15.2 which is incompatible.

pip的依赖解析器目前没有考虑到所有安装的包。此行为是以上依赖关系冲突的来源。
解决:

pip uninstall pyqtwebengine 5.15.4
pip uninstall pyqt5-plugins 5.15.4.2.2
  相关解决方案