I upgraded numpy to the latest version and now I am getting following error on importing numpy:
AttributeError: type object \'numpy.ndarray\' has no a
Uninstall all installs of Numpy using
pip uninstall numpy
for python3
pip3 uninstall numpy
You may need to run the uninstall command several times since several versions of numpy may be installed. Then run
pip install numpy