Matplotlib ImportError: No Module Named Ma

ImportError: No module named ma

Fix is to edit the following files:

sudo vi /Library/Python/2.6/site-packages/matplotlib-0.91.1-py2.6-macosx-10.6-universal.egg/matplotlib/numerix/ma/__init__.py
sudo vi /Library/Python/2.6/site-packages/matplotlib-0.91.1-py2.6-macosx-10.6-universal.egg/matplotlib/numerix/npyma/__init__.py

On my installed on lines 16 and 7 respectively replace

from numpy.core.ma import *

with

from numpy.ma import *

and done.

Comments