Several parts of the math package use np.object , which is deprecated in the latest version of numpy.
This results in an attribute error whenever the phiflow package is imported.
AttributeError: module 'numpy' has no attribute 'object'
The error can be fixed by changing np.object usages to np.object_ as per numpy documentation
Several parts of the math package use
np.object
, which is deprecated in the latest version of numpy. This results in an attribute error whenever the phiflow package is imported.AttributeError: module 'numpy' has no attribute 'object'
The error can be fixed by changing
np.object
usages tonp.object_
as per numpy documentation