I'm having troubles importing pandas:
import pandas
---
In [7]: import pandas
Traceback (most recent call last):
File "<ipython-input-7-d6ac987968b6>", line 1, in <module>
import pandas
File "//anaconda/lib/python3.6/site- packages/pandas/__init__.py", line 56, in <module>
import pandas.util.testing
File "//anaconda/lib/python3.6/site- packages/pandas/util/testing.py", line 22, in <module>
from numpy.testing.decorators import slow # noqa
ModuleNotFoundError: No module named 'numpy.testing.decorators'
I recently fully reinstalled anaconda with home-brew; moreover, I installed the following:
- pip install numpy==1.18
- pip install scipy==1.1.0
- pip install scikit-learn==0.21.3
- pip install pandas
The pandas version I'm using is 0.25.1
Does anyone have an idea of what might be going wrong?