[Qgis-user] sry for greenhorn problem...

Helen Willems willems.helen at googlemail.com
Tue Mar 2 09:02:29 PST 2021


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
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/pandas-1.1.0-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/geopandas-0.8.1-py3.8.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/GDAL-3.2.1-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/Rtree-0.9.4-py3.8.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/matplotlib-3.3.0-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/rasterio-1.1.5-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/netCDF4-1.5.4-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/Pillow-7.2.0-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/scipy-1.5.1-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/affine-2.3.0-py3.8.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numba-0.50.1-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/opencv_contrib_python-4.3.0.36-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python38.zip
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/numpy-1.20.1-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/pyproj-2.6.0-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/snuggs-1.4.7-py3.8.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/Fiona-1.8.13.post1-py3.8-macosx-10.13.0-x86_64.egg
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/lib-dynload
  * /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.8/site-packages/statsmodels-0.11.1-py3.8-macosx-10.13.0-x86_64.egg
  * /Users/helenwillems/Library/Application
    Support/QGIS/QGIS3/profiles/default/python

Can anybody help me?

I am really not an qgis expert, so would be pleased if someone could try 
to help me in lets say "easy wording"?!

Hope to get some help! thx in advance..

Helen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210302/376200bc/attachment.html>


More information about the Qgis-user mailing list