On an iMac running 10.6.3, python 2.6.4 I have installed numpy and then
matplotlib using 'pip'.
The message in both cases was that the install was successful.
'import matplotlib' does not cause error messages.
'from pylab import randn, hist' gets a traceback with the message "ImportError:
No module named ma"
How do I get matplotlib to work?
Thank you for any help.
Christopher
------
>>> from pylab import randn, hist
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/__init__.py:62:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5, os, re, shutil, sys, warnings
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pytz/tzinfo.py:5:
DeprecationWarning: the sets module is deprecated
from sets import Set
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pylab.py",
line 1, in <module>
from matplotlib.pylab import *
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/pylab.py",
line 206, in <module>
from matplotlib.numerix import npyma as ma
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/numerix/__init__.py",
line 166, in <module>
__import__('ma', g, l)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/numerix/ma/__init__.py",
line 16, in <module>
from numpy.core.ma import *
ImportError: No module named ma
------
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users