打开软件时,出现如下所示的错误消息。关闭弹出窗口后,该软件可以启动,但不能使用python插件或功能。
无法加载SIP模块。 Python支持将被禁用。
Traceback (most recent call last):
File "", line 1, in
File "C:/OSGEO4~1/apps/qgis/./python\qgis\__init__.py", line 70, in
from qgis.PyQt import QtCore
File "C:/OSGEO4~1/apps/qgis/./python\qgis\PyQt\QtCore.py", line 24, in
from PyQt5.QtCore import *
ImportError: DLL load failed: The specified module could not be found.
Python版本:3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS版本:3.12.3-București 'București', 8234261527
Python路径:
['C:\\Users\\(user)\\AppData\\Roaming\\Python\\Python37\\site-packages\\PyQt5',
'C:/OSGEO4~1/apps/qgis/./python',
'C:/Users/(user)/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python',
'C:/Users/(user)/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins',
'C:/OSGEO4~1/apps/qgis/./python/plugins',
'C:\\OSGEO4~1\\apps\\Python37',
'C:\\OSGEO4~1\\apps\\Python37\\Scripts',
'C:\\OSGeo4W64\\bin\\python37.zip',
'C:\\OSGEO4~1\\apps\\Python37\\DLLs',
'C:\\OSGEO4~1\\apps\\Python37\\lib',
'C:\\OSGeo4W64\\bin',
'C:\\Users\\(user)\\AppData\\Roaming\\Python\\Python37\\site-packages',
'C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages',
'C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\win32',
'C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\win32\\lib',
'C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\Pythonwin']