QST: import pandas AttributeError: module 'numpy' has no attribute 'ndarray'

Hi 
I am not sure what caused the problem, but when I try to import pandas I get a numpy attribute error. I tried pip install although I use anaconda and did not work 
```
pip uninstall -y numpy
pip uninstall -y setuptools
pip install setuptools
pip install numpy
```
so when I try to import pandas this is the error I get 

```
import pandas as pd

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-7-7dd3504c366f> in <module>
----> 1 import pandas as pd

~/opt/anaconda3/lib/python3.7/site-packages/pandas/__init__.py in <module>
     20 
     21 # numpy compat
---> 22 from pandas.compat.numpy import (
     23     np_version_under1p17 as _np_version_under1p17,
     24     np_version_under1p18 as _np_version_under1p18,

~/opt/anaconda3/lib/python3.7/site-packages/pandas/compat/__init__.py in <module>
     12 import warnings
     13 
---> 14 from pandas._typing import F
     15 
     16 PY38 = sys.version_info >= (3, 8)

~/opt/anaconda3/lib/python3.7/site-packages/pandas/_typing.py in <module>
     52 # array-like
     53 
---> 54 AnyArrayLike = TypeVar("AnyArrayLike", "ExtensionArray", "Index", "Series", np.ndarray)
     55 ArrayLike = TypeVar("ArrayLike", "ExtensionArray", np.ndarray)
     56 

AttributeError: module 'numpy' has no attribute 'ndarray'
```


below are my python and jupyter versions
```
from platform import python_version

3.7.9


jupyter core     : 4.7.0
jupyter-notebook : 6.2.0
qtconsole        : 5.0.1
ipython          : 7.19.0
ipykernel        : 5.4.2
jupyter client   : 6.1.11
jupyter lab      : 3.0.5
nbconvert        : 6.0.7
ipywidgets       : 7.6.3
nbformat         : 5.1.2
traitlets        : 5.0.5
(base) __________-MacBook-Air:~ ____________$ 

```
