Qgis throwing import error while installing the plugin
mm5m opened this issue · 0 comments
Other plugins are being installed without any issue.
plz see the log below.
Couldn't load plugin 'openlayers_plugin' due to an error when calling its classFactory() method
ImportError: cannot import name 'OpenlayersPlugin' from 'openlayers_plugin' (C:\Users/Admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\openlayers_plugin_init_.py)
Traceback (most recent call last):
File "C:\PROGRA1/QGIS331.6/apps/qgis-ltr/./python\qgis\utils.py", line 423, in startPlugin
plugins[packageName] = package.classFactory(iface)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\openlayers_plugin_init.py", line 25, in classFactory
from openlayers_plugin import OpenlayersPlugin
ImportError: cannot import name 'OpenlayersPlugin' from 'openlayers_plugin' (C:\Users/Admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\openlayers_plugin_init_.py)Python version: 3.12.3 (main, Apr 14 2024, 17:21:43) [MSC v.1938 64 bit (AMD64)]
QGIS version: 3.34.6-Prizren Prizren, 623828f5Python Path:
C:/PROGRA1/QGIS331.6/apps/qgis-ltr/./python
C:/Users/Admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/Admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA1/QGIS331.6/apps/qgis-ltr/./python/plugins
C:\PROGRA1\QGIS331.6\apps\grass\grass83\etc\python
C:\Users\Admin\Documents
C:\Program Files\QGIS 3.34.6\bin\python312.zip
C:\PROGRA1\QGIS331.6\apps\Python312\DLLs
C:\PROGRA1\QGIS331.6\apps\Python312\Lib
C:\Program Files\QGIS 3.34.6\bin
C:\PROGRA1\QGIS331.6\apps\Python312
C:\PROGRA1\QGIS331.6\apps\Python312\Lib\site-packages
C:\PROGRA1\QGIS331.6\apps\Python312\Lib\site-packages\win32
C:\PROGRA1\QGIS331.6\apps\Python312\Lib\site-packages\win32\lib
C:\PROGRA1\QGIS331.6\apps\Python312\Lib\site-packages\Pythonwin
C:/Users/Admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python
D:/Projects/QgisProjects