I am getting below error when running mlflow app
raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'object'
Can someone help me with this
Since version 1.24 of numpy, np.object
is deprecated, and needs to be replaced with object
(cf. numpy release notes).
You either need to update this in your code, or another package you're using needs to be updated (not possible to answer without more information).
One (dirty) workaround for now would be to fix your numpy version to the last version still supporting np.object
with pip install numpy==1.23.4
Try :
pip3 install numpy==1.23.5
I was facing same issue with numpy 1.24.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With