qgis ModuleNotFoundError: No module named 'PyQt5.pyqtconfig'

╄→尐↘猪︶ㄣ 提交于 2020-01-04 04:29:50

问题


Traceback (most recent call last):
  File "D:/Study/qgis3/QGIS/cmake/FindPyQt5.py", line 34, in <module>
    import PyQt5.pyqtconfig
ModuleNotFoundError: No module named 'PyQt5.pyqtconfig'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:/Study/qgis3/QGIS/cmake/FindPyQt5.py", line 37, in <module>
    import PyQt5.QtCore
ImportError: DLL load failed:

Found SIP version: 4.19
Traceback (most recent call last):
  File "D:/Study/qgis3/QGIS/cmake/FindQsci.py", line 45, in <module>
    from PyQt5.Qsci import QSCINTILLA_VERSION_STR
ImportError: DLL load failed: 

CMake Error at cmake/PyQtMacros.cmake:22 (MESSAGE):
  pyuic[4|5] not found - aborting
Call Stack (most recent call first):
  CMakeLists.txt:714 (INCLUDE)

I have installed pyqt5 and SIP though pip3, but above problem still arises.

来源:https://stackoverflow.com/questions/50257033/qgis-modulenotfounderror-no-module-named-pyqt5-pyqtconfig

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!