Skip to content

Bug with numpy version 1.24.4 #544

@amerville98

Description

@amerville98

Describe the bug
I didn't manage to run umep because of an error concerning numpy. The error disappears by manually modifying the numpy version. So I switched from version 1.24.4 (initially installed and causing problems) to 1.23.3.

Desktop (please complete the following information):

  • OS: windows 10
  • QGIS Version 3.32.2
  • UMEP Version 4.0.2

Screenshots
The error with the svf generator :

Traceback (most recent call last):
File "C:\Users/alexandre.merville/AppData/Roaming/QGIS/QGIS3\profiles\alexM/python/plugins\processing_umep\preprocessor\skyviewfactor_algorithm.py", line 123, in processAlgorithm dsm = gdal_dsm.ReadAsArray().astype(float)
File "C:\PROGRA1\QGIS331.2\apps\Python39\lib\site-packages\osgeo\gdal.py", line 3328, in ReadAsArray from osgeo import gdal_array File "C:\PROGRA1/QGIS331.2/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\PROGRA1\QGIS331.2\apps\Python39\lib\site-packages\osgeo\gdal_array.py", line 13, in from . import _gdal_array File "C:\PROGRA1/QGIS331.2/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: numpy.core.multiarray failed to import Execution failed after 0.28 secondes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions