e2nIEE / pandapower

Convenient Power System Modelling and Analysis based on PYPOWER and pandas
https://www.pandapower.org
Other
841 stars 478 forks source link

[bug] numpy dependency update needed? #2308

Closed sicatca closed 3 months ago

sicatca commented 3 months ago

Bug report checklis

Reproducible Example

import pandapower

print ("something")

Issue Description and Traceback

seems to be that numpy inf constant cannot be found using capital "I".

ImportError: cannot import name 'Inf' from 'numpy'

Expected Behavior

should be imported using "inf"?

Installed Versions

Label

sicatca commented 3 months ago

Fixed with numpy 1.26 and below. 2.0 has the deprecated "Inf" into "inf"