Bug with numpy version 1.24.4 #545
amerville98
started this conversation in
Python
Replies: 1 comment
-
Thank you for this info. We make sure that we use a numpy version that coincides with the version shipped with the QGIS/OSGeo installation. Thus, the version you used was higher than in the OSGEO repository, hence the issue you experienced. As this was no issue related to our code I will move this over to our Discussions page so that other users can that part of this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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):
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:\PROGRA
1\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:\PROGRA
1\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
Beta Was this translation helpful? Give feedback.
All reactions