Numpy 2.0.0 has recently been released, and the windrose package seems to be incompatible. When using it, I get the error
File "/home/.../python3.11/site-packages/windrose/windrose.py", line 10, in <module>
from numpy.lib.twodim_base import histogram2d
ModuleNotFoundError: No module named 'numpy.lib.twodim_base'
To my understanding, the histogram2d can now be imported from numpy directly. When changing the troubling line to
from numpy import histogram2d
my code runs fine again without errors.
Related issue: FraunhoferIWES/foxes#43
Thanks for addressing this!
Numpy 2.0.0 has recently been released, and the
windrosepackage seems to be incompatible. When using it, I get the errorTo my understanding, the histogram2d can now be imported from
numpydirectly. When changing the troubling line tomy code runs fine again without errors.
Related issue: FraunhoferIWES/foxes#43
Thanks for addressing this!