ImportError: No module named 'numpy.ma'
Question: The full error:

    
    
    import matplotlib
    Traceback (most recent call last):
     File "<pyshell#0>", line 1, in <module>
        import matplotlib
      File "R:\Python34\lib\site-packages\matplotlib\__init__.py", line 180, in <module>
        from matplotlib.cbook import is_string_like
      File "R:\Python34\lib\site-packages\matplotlib\cbook.py", line 34, in <module>
        import numpy.ma as ma
    ImportError: No module named 'numpy.ma'
    

numpy is imported normally. How do I install `numpy.ma`?


Answer: Re-install the correct version of `numpy`.

download correct `.whl` file from
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy>

    
    
    pip install C:\Path\To\Wheel\Filename.whl # for example: numpy-1.9.2+mkl-cp34-none-win_amd64.whl
    

