Unable to install EnMap Plug-In

Issue #1011 on hold
Former user created an issue

Hey guys, i am unable to install the Enmap-Plug-In in QGIS (Version 3.22.2). In the following you see the error report. I hope there is any solution, thanks in advance.

Konnte Erweiterung 'enmapboxplugin' nicht laden aufgrund eines Fehlers beim Aufruf der classFactory() Methode

ModuleNotFoundError: No module named 'enmapbox.gui.datasources.manager'; 'enmapbox.gui.datasources' is not a package Traceback (most recent call last): File "C:\PROGRA~1/QGIS32~1.2/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/Jannis/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin__init__.py", line 54, in classFactory raise ex File "C:\Users/Jannis/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin__init__.py", line 49, in classFactory from enmapbox.enmapboxplugin import EnMAPBoxPlugin File "C:\PROGRA~1/QGIS32~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\Users/Jannis/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox__init__.py", line 433, in from enmapbox.gui.enmapboxgui import EnMAPBox File "C:\PROGRA~1/QGIS32~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\Users/Jannis/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\enmapboxgui.py", line 36, in import enmapbox.gui.datasources.manager File "C:\PROGRA~1/QGIS32~1.2/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'enmapbox.gui.datasources.manager'; 'enmapbox.gui.datasources' is not a package

Python-Version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] QGIS-Version: 3.22.2-Białowieża Białowieża, 1601ec46d0

Python-Pfad: C:/PROGRA~1/QGIS32~1.2/apps/qgis/./python C:/Users/Jannis/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/Jannis/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA~1/QGIS32~1.2/apps/qgis/./python/plugins C:\Program Files\QGIS 3.22.2\bin\python39.zip C:\PROGRA~1\QGIS32~1.2\apps\Python39\DLLs C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib C:\Program Files\QGIS 3.22.2\bin C:\PROGRA~1\QGIS32~1.2\apps\Python39 C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\GDAL-3.4.0-py3.9-win-amd64.egg C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\win32 C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\win32\lib C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\Pythonwin C:/Users/Jannis/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:\Users\Jannis\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages C:\Users\Jannis\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\enmapbox\externals\qps\externals C:\Users\Jannis\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages C:\Users/Jannis/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\site-packages C:\Users/Jannis/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\site-packages

Comments (3)

  1. Daniel Scheffler

    Since QGIS 3.22 is now available from conda-forge, I just gave it a try and installed the EnMAP-Box (3.9.20211123T125541.master) on top. However, I get a similar error when trying to activate the plugin:

    ModuleNotFoundError: No module named 'enmapbox.qgispluginsupport.qps' 
    Traceback (most recent call last):
      File "D:\Programme/mambaforge/envs/qgis322/Library/./python\qgis\utils.py", line 423, in _startPlugin
        plugins[packageName] = package.classFactory(iface)
      File "C:\Users/danschef/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\__init__.py", line 54, in classFactory
        raise ex
      File "C:\Users/danschef/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\__init__.py", line 49, in classFactory
        from enmapbox.enmapboxplugin import EnMAPBoxPlugin
      File "D:\Programme/mambaforge/envs/qgis322/Library/./python\qgis\utils.py", line 888, in _import
        mod = _builtin_import(name, globals, locals, fromlist, level)
      File "D:\Daten\Code\python\enmap-box\enmapbox\__init__.py", line 43, in 
        from .qgispluginsupport.qps.pyqtgraph import pyqtgraph
      File "D:\Programme/mambaforge/envs/qgis322/Library/./python\qgis\utils.py", line 888, in _import
        mod = _builtin_import(name, globals, locals, fromlist, level)
    ModuleNotFoundError: No module named 'enmapbox.qgispluginsupport.qps'
    
    
    Python-Version: 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:30:19) [MSC v.1929 64 bit (AMD64)] 
    QGIS-Version: 3.22.11-Białowieża Białowieża, exported
    

    I did not try it on Linux yet.

  2. Log in to comment