BUG: Not working with numpy 2 (np.obj2sctype
was removed in the NumPy 2.0 release.)
#7592
Labels
np.obj2sctype
was removed in the NumPy 2.0 release.)
#7592
Describe the issue:
When importing pymc with
import pymc as pm
I get the error message:AttributeError:
np.obj2sctypewas removed in the NumPy 2.0 release. Use
np.dtype(obj).typeinstead.
(see full error message below).
I think the message is pretty clear, pymc does not support Numpy 2.0 at the moment.
Do we have any plans to support it?
Reproduceable code example:
Error message:
PyMC version information:
pip install pymc
versions:
pymc-5.15.0
numpy-2.1.3
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: