Unable to load EnMap-Box plugin

Issue #469 closed
Former user created an issue

When trying to install the plugin in QGIS the following error message is displayed:

Couldn't load plugin 'enmapboxplugin' due to an error when calling its classFactory() method

TypeError: create_target_machine() got an unexpected keyword argument 'jitdebug' Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 334, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:/Users/Tim/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin__init__.py", line 47, in classFactory raise ex File "C:/Users/Tim/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin__init__.py", line 43, in classFactory plugin = EnMAPBoxPlugin(iface) File "C:/Users/Tim/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\enmapboxplugin.py", line 49, in init self.initialDependencyCheck() File "C:/Users/Tim/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\enmapboxplugin.py", line 64, in initialDependencyCheck missing = [p for p in requiredPackages() if not p.isInstalled()] File "C:/Users/Tim/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\dependencycheck.py", line 391, in requiredPackages pkg = PIPPackage(pyPkg, cmd) File "C:/Users/Tim/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\dependencycheck.py", line 99, in init import(self.pyPkgName) File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 744, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba__init__.py", line 196, in import numba.typed File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 744, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\typed__init__.py", line 3, in from .typeddict import Dict File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py", line 744, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\typed\typeddict.py", line 19, in @njit File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\decorators.py", line 238, in njit return jit(args, kws) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\decorators.py", line 175, in jit return wrapper(pyfunc) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\decorators.py", line 191, in wrapper dispatcher_args) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\dispatcher.py", line 650, in init self.targetctx = self.targetdescr.target_context File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\targets\registry.py", line 50, in target_context return self._toplevel_target_context File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\utils.py", line 390, in get res = instance.dict[self.name] = self.func(instance) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\targets\registry.py", line 34, in _toplevel_target_context return cpu.CPUContext(self.typing_context) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\targets\base.py", line 260, in init self.init() File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\compiler_lock.py", line 32, in _acquire_compile_lock return func(args, kwargs) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\targets\cpu.py", line 51, in init self._internal_codegen = codegen.JITCPUCodegen("numba.exec") File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\targets\codegen.py", line 628, in init self._init(self._llvm_module) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\numba\targets\codegen.py", line 637, in _init tm = target.create_target_machine(tm_options) TypeError: create_target_machine() got an unexpected keyword argument 'jitdebug'

Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] QGIS version: 3.10.6-A Coruña A Coruña, ec80021f49

Comments (6)

  1. Guanghui

    I have the same problem. I can install the newest edition successfully and open it. But this error imformation will appear after opened. However, it can load example data. It is amazing!

  2. faehlint

    Hi

    I created this issue before I signed in for an account. I my case I can’t even open Enmap-Box because the icon does not appear in the GUI. However, it states that the plugin is installed…

  3. Benjamin Jakimow

    This error relates to a broken numba installation and should not appear any more when starting the latest EnMAP-Box version (which was released yesterday)

  4. Fabian Thiel

    Did you try the latest version? We released a new version yesterday where this issue should be fixed (or at least if the error shows up, the plugin will still work). This error is related to the numba python library, which is used only by the EnSoMAP Application. If you don’t need EnSoMAP, you should be fine.

    Edit: Benjamin answered faster 😉

  5. Log in to comment