Does module 'numpy.core' has a replacement or upgrade for attribute 'numerictypes'

Hi all and thank you in advance for acknowledging my presence!

I have been getting a constant error and I am not certain if this is being caused by old packages!

THE ERROR**********

File “/Users/mmgp/opt/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/”, line 1475, in
_NON_AUTOPACKABLE_TYPES = set(np.core.numerictypes.ScalarType)

AttributeError: module ‘numpy.core’ has no attribute ‘numerictypes’

I tried upgrading all numpy packages according to Stacks Overflow and other python communities!

but this error is constant and its a tad daunting when one cannot see their errors to move forward hence me posting such here for additional guidance and support!

can someone help me to understand the necessary steps that I must take to move forward, please?

1 Like