Hello Helen,
I installed the plugin for trying to reproduce your problem. I noticed, that
the plugin needs to download additional data after installing it via plugin
manager. After cancelling this download I received a similar, but not the same,
error like you. Did you downloaded the additional stuff after installing the
plugin?
Maybe it would be better to create a new issue with your question at the Github
repository of the plugin to address your question directly to the plugin author.
Greetings,
Christoph
> Am 02.03.2021 um 18:02 schrieb Helen Willems :
>
> Dear experts!
>
>
>
> I think I have a real "greenhorn problem", but nevertheless can´t solve it on
> my own...
>
>
>
> I used to work with QGIS 3.10 and wanted to use the UMEP Plugin, but
> following error message occured:
>
> Ein Fehler trat bei der Ausführung von Python-Code auf:
> RuntimeError: module compiled against API version 0xe but this version of
> numpy is 0xd
>
> RuntimeError: module compiled against API version 0xe but this version of
> numpy is 0xd
>
> Python-Version: 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1
> (clang-1001.0.46.3)]
> QGIS-Version: 3.10.4-A Coruña A Coruña, 10bc9f2ff2
> Python-Pfad:
>
> /Users/helenwillems/Library/Application
> Support/QGIS/QGIS3/profiles/default/python/plugins/geometric_attributes
> /Applications/QGIS3.10.app/Contents/MacOS/../Resources/python
> /Users/helenwillems/Library/Application
> Support/QGIS/QGIS3/profiles/default/python
> /Users/helenwillems/Library/Application
> Support/QGIS/QGIS3/profiles/default/python/plugins
> /Applications/QGIS3.10.app/Contents/MacOS/../Resources/python/plugins
> /Applications/QGIS3.10.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages/geos
> /Applications/QGIS3.10.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7
> /Applications/QGIS3.10.app/Contents/Resources/python
> /Users/helenwillems/Library/Python/3.7/lib/python/site-packages
> /Applications/QGIS3.10.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages
> /Applications/QGIS3.10.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python37.zip
> /Applications/QGIS3.10.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/lib-dynload
> /Users/helenwillems/Library/Application
> Support/QGIS/QGIS3/profiles/default/python
>
>
> Then I updated QGIS to QGIS-LTR (3.16.4) and tried to install the UMEP plugin
> again, but then this error message poped up:
>
>
>
> Konnte Erweiterung 'UMEP' nicht laden aufgrund eines Fehlers beim Aufruf der
> classFactory() Methode
> ModuleNotFoundError: No module named 'osr'
>
> Traceback (most recent call last):
> File
> "/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
> line 334, in _startPlugin
> plugins[packageName] = package.classFactory(iface)
> File "/Users/helenwillems/Library/Application
> Support/QGIS/QGIS3/profiles/default/python/plugins/UMEP/__init__.py", line
> 34, in classFactory
> from .UMEP import UMEP
> File
> "/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
> line 792, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/Users/helenwillems/Library/Application
> Support/QGIS/QGIS3/profiles/default/python/plugins/UMEP/UMEP.py", line 42, in
> from .UMEPDownloader.umep_downloader import UMEP_Data_Download
> File
> "/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
> line 792, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/Users/helenwillems/Library/Application
> Support/QGIS/QGIS3/profiles/default/python/plugins/UMEP/UMEPDownloader/umep_downloader.py",
> line 41, in
> import osr
> File
> "/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/qgis/utils.py",
> line 792, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ModuleNotFoundError: No module named 'osr'
>
> Python-Version: 3.8.7 (default, Feb 10 2021, 09:04:08) [Clang 12.0.0
> (clang-1200.0.32.29)]
> QGIS-Version: 3.16.4-Hannover Hannover, 81ba6c0826
> Python-Pfad:
>
> /Users/helenwillems/Library/Application
> Support/QGIS/QGIS3/profiles/default/python/plugins/geometric_attributes
> /Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python
> /Users/helenwillems/Library/Application
> Support/QGIS/QGIS3/profiles/default/python
> /Users/helenwillems/Library/Application
> Support/QGIS/QGIS3/profiles/default/python/plugins
> /Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins
> /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/click_plugins-1.1.1-py3.8.egg
> /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/patsy-0.5.1-py3.8.egg
> /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/cftime-1.2.1-py3.8-macosx-10.13.0-x86_64.egg
>