You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to C:\Users{YOUR-USER}\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pint\facets\numpy\numpy_func.py
Replace line 884 with:
for func_str in ["cumprod", "nancumprod"]:
It is fixed in more recent versions of pint [1].
We just need to bump the requirements in python_OBD.
If you change setup.py and require pint>=0.24.4, build and install, it works fine (uninstall old pint first).
Activity
Lauwy222 commentedon Aug 20, 2024
got the same issue
theaircrasher commentedon Sep 3, 2024
Same problem here with:
Python 3.10.12
numpy 2.1.0
obd 0.7.2
Derek-Shannon commentedon Sep 16, 2024
Fixed the Problem!
Python 3.11.9
obd 0.7.2
numpy 2.0.1
Go to C:\Users{YOUR-USER}\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pint\facets\numpy\numpy_func.py
Replace line 884 with:
for func_str in ["cumprod", "nancumprod"]:
davrandom commentedon Nov 15, 2024
It is fixed in more recent versions of pint [1].
We just need to bump the requirements in python_OBD.
If you change setup.py and require pint>=0.24.4, build and install, it works fine (uninstall old pint first).
[1] https://pypi.org/project/Pint/