after installing enpt_enmapboxapp via PIP there is still a problem

Issue #395 closed
Andreas Janz created an issue

ModuleNotFoundError:No module named 'enpt_enmapboxapp.enpt_enmapboxapp'
Traceback:
  File "C:\source\QGISPlugIns\enmap-box\enmapbox\gui\applications.py", line 281, in addApplicationFolder
    apps = factory(self.mEnMAPBox)
  File "C:\source\QGISPlugIns\enmap-box\enmapbox\apps\enpt_app\__init__.py", line 8, in enmapboxApplicationFactory
    from enpt_enmapboxapp.enpt_enmapboxapp import EnPTEnMAPBoxApp
  File "C:\miniconda\envs\py36\Library\python\qgis\utils.py", line 744, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)

Comments (8)

  1. Benjamin Jakimow

    dependencycheck.py, PIP Installer - allows to reload python packages - shows current and available / latest version - added hint that restart of QGIS / EnMAP-Box might be required, closes #394 - closes #371 - closes #395

    → <<cset c71356e02a10>>

  2. Benjamin Jakimow

    Cant' replicate this. Can you import enpt_enmapboxapp in your QGIS python terminal?
    How is enpt-enmapboxapp listed in the EnMAP.Box package installer?

  3. Andreas Janz reporter
    >>> import enpt_enmapboxapp
    >>> enpt_enmapboxapp.__path__
    
    NamespacePath(['C:\source\QGISPlugIns\enmap-box\enmapbox\apps\enpt_enmapboxapp'])
    

  4. Benjamin Jakimow

    @Andreas Janz The PIP installer is right: enpt_enmapboxapp needs to be installed via pip (see #369). This is not the case on your platform. Furthermore your repository code is outdated, as enpt_enmapboxapp is not part of the EnMAP-Box repo.

  5. Andreas Janz reporter

    Hmm, not good, git fails again in deleting stuff after pulling your updates. On my side, there was still an empty forder named enmapbox\apps\enpt_enmapboxapp.

    Now everything is fine, thanks!

  6. Log in to comment