Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qgis throwing import error while installing the plugin #73

Open
mm5m opened this issue May 25, 2024 · 0 comments
Open

Qgis throwing import error while installing the plugin #73

mm5m opened this issue May 25, 2024 · 0 comments

Comments

@mm5m
Copy link

mm5m commented May 25, 2024

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, 623828f5

Python 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant