FAQ & Troubleshooting¶
Bug report & feedback¶
Your feedback is more than welcome! In case you encounter any problems with the EnMAP-Box or have suggestions of any kind for improving it (or this documentation), please let us know!
Please report issues (bugs, suggestions etc.) via our Bitbucket Repository.
This is a list of Frequently Asked Questions about the EnMAP-Box. Feel free to suggest new entries!
- How to cite the EnMAP-Box?
Please cite the EnMAP-Box as:
EnMAP-Box Developers (2019): EnMAP-Box 3 - A QGIS Plugin to process and visualize hyperspectral remote sensing data. www.enmap.org/enmapbox.html
How can I solve the following error…
Installation: no module named pip
In case you run into problems during installation because pip is not available in your python environment (error message
C:/.../python3.exe: No module named pipor similar), follow these steps (Windows):
Start the OSGeo4W installer from the OSGeo4W Shell by calling
which will open the OSGeo4W Setup dialog.
Now navigate through the first pages of the dialog, by selecting the following settings:
- Advanced Installation Next
- Installation from Internet Next
- default OSGeo4W root directory Next
- local temp directory Next
- direct connection Next
- Select downloadsite
Then use the textbox to filter, select and install the following packages (see video below for help):
Click on the symbol once, which should usually change the Skip setting to installing the most recent version. Only AFTER having selected both packages, click Next.
Demonstration of package selection in the Setup
Click Finish when the installation is done. Now repeat the steps 2.- 4. again.
Python package installation with requirements.txt does not work
Usually, all dependencies can be installed with one line:
python3 -m pip install -r https://bitbucket.org/hu-geomatics/enmap-box/raw/develop/requirements.txt
If the method above did not work for some reason, try installing the packages one by one:
python3 -m pip install numpy python3 -m pip install scipy python3 -m pip install scikit-learn python3 -m pip install matplotlib
python3 -m pip install astropy python3 -m pip install PyOpenGL
Image Cube tool missing qtopengl / Missing OpenGL / QtOpenGL packages
On some systems we experiences problems related to a missing OpenGL support (e.g Issue #299)
Ensure that you have installed OpenGL drivers that support your graphic card
Ensure that `PyOpenGL <http://pyopengl.sourceforge.net`_ is installed:
$ python3 -m pip install PyOpenGL
On Linux, it might be necessary to install the Python bindings for QtOpenGL in order to start the Image Cube tool.
sudo apt-get install python3-pyqt5.qtopengl
Error loading the plugin
In case of missing requirements you should see an error message like this
In that case please make sure you installed all missing packages, in this example
Installation of Astropy fails
In case you experience problems with installing astropy, you might also try the following:
Go to https://www.lfd.uci.edu/~gohlke/pythonlibs/#astropy and look for the .whl files. Download the newest version which fits your windows and python setup, e.g. astropy‑3.0.5‑cp37‑cp37m‑win_amd64.whl for Python 3.7 (cp37) on a 64 bit windows (win_amd64).
Install the downloaded file using pip (change path accordingly!):
python3 -m pip install C:\Downloads\astropy-3.0.5-cp37-cp37m-win_amd64.whl
In some cases using an older version also does the trick, using pip you can install older versions using the
--force-reinstallis used here to ensure clean installation.
python3 -m pip install astropy==3.0.3 --force-reinstall
Wrong value for parameter MSYS
This error sometimes occurs when activating the EnMAP-Box AlgorithmProvider in Windows. Please install the msys (command line utilities) package with the OSGeo4W package installer.
This plugin is broken: ‘module’ object has not attribute ‘GRIORA_NearestNeighbor’
Your GDAL version seems to be outdated. update it to a version > 2.0
Exception: Unable to find full path for “dockpanel.ui”. Make its directory known to UI_DIRECTORIES
It’s likely that an update of the EnMAP-Box plugin failed to remove a previous version properly. The following workaround might help:
- Navigate into the active QGIS profile folder. It can be opened via Settings > User Profiles > Open Active Profile Folder
- Close QGIS. This is necessary to avoid any file handles on files or folders of the EnMAP-Box plugin.
- Delete the EnMAP-Box plugin folder manually, e.g. default/python/plugins/enmapboxplugin if the active QGIS profile is ‘default’.
- Restart QGIS and install the most-recent EnMAP-Box version
This description was taken from https://bitbucket.org/hu-geomatics/enmap-box/issues/304/exception-unable-to-find-full-path-for