Start EnMAP-Box in standard QGIS installation

Issue #366 resolved
Benjamin Jakimow created an issue

Several requests have shown, that is can be challenging to install python packages to the QGIS python. In particular for users that install the EnMAP-Box from the QGIS Plugin Manager, it is frustrating if they are confronted with a “missing package” error message immediately, which prevents the EnMAP-Box GUi from being opened

Instead, the EnMAP-Box should be able to start without the need to have non-standard packages (NSP) packages, i.e. packages which are not installed in a fresh QGIS installation (OSGeo4W and conda-forge QGIS as reference).

Actions:

  • remove all dependencies that avoid the EnMAP-Box GUI to be started in case of missing NSPs
  • implement a test that evaluates the requirements.txt for NSP packages and shows an respective error message in the EnMAP-Box message bar.
  • if possible, (@Andreas Janz ) make at least some of the QgsProcessingalgorithms in `enmapboxgeoalgorithms` loadable without the need to have scipy or scikit-learn installed. This way the EnMAP-Box Processing Provider would not be empty when starting the EnMAP-Box without haven scipy/scikit-learn installed.

Comments (6)

  1. Benjamin Jakimow reporter

    Looks now like:

    @Andreas Janz please note that the EnMAP-Box QgsProcessingProvider will not appear if no algorithms have been added to - which is the case if none of the EnMAPBox Processing Algs can be loaded due to the missing packages

  2. Andreas Janz

    I try-catched all scikit-learn and scipy top-level imports. All algorithms will now show up in the ProcessingToolbox.

    But if the user executes one of those algorithms, an error occurs, e.g.

  3. Benjamin Jakimow reporter

    Prima,

    sollen wir heute 15:00 mal skype um den aktuellen Stand abzugleichen?

    Am 17/03/2020 um 20:40 schrieb Andreas Rabe:

    -- Benjamin Jakimow, Doctoral Researcher Geomatics Lab | Geography Department | Humboldt-Universität zu Berlin

    e-mail: benjamin.jakimow@geo.hu-berlin.de

    phone: +49 (0) 30 2093 6846 mobile: +49 (0) 157 5656 8477 fax: +49 (0) 30 2093 6848 mail: Unter den Linden 6 | 10099 Berlin | Germany room: 2'211 web: https://hu-berlin.de/eo-lab

  4. Log in to comment