I managed to compile matplotlib only with scipy (scipy_core), however,
when I try to import pylab, I get an import error as numerix strangely
tries to import numarray (even though it is not on my system). Is this
a bug? If so, what is the best workaround?
In [1]: from pylab import *
···
---------------------------------------------------------------------------
exceptions.ImportError Traceback (most
recent call last)
/Users/chris/<console>
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/pylab.py
----> 1 from matplotlib.pylab import *
global matplotlib.pylab = undefined
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/pylab.py
192 """
193 import sys, warnings
--> 194 import cm
cm = undefined
195 import _pylab_helpers
196 import mlab #so I can override hist, psd, etc...
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/cm.py
3 """
4
----> 5 import colors
colors = undefined
6 from matplotlib import verbose
7 from matplotlib import rcParams
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/colors.py
31 import re
32
---> 33 from numerix import array, arange, take, put, Float, Int, where, \
global numerix = undefined
array = undefined
arange = undefined
take = undefined
put = undefined
Float = undefined
Int = undefined
where = undefined
zeros = undefined
asarray = undefined
sort = undefined
searchsorted = undefined
sometrue = undefined
ravel = undefined
divide = undefined
clip = undefined
34 zeros, asarray, sort, searchsorted, sometrue, ravel, divide,\
35 clip
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/numerix/__init__.py
46 if which[0] == "numarray":
47 #from na_imports import *
---> 48 from numarray import *
numarray = undefined
49 from _na_imports import nx, inf, infinity, Infinity, Matrix
50 from numarray.numeric import nonzero
ImportError: No module named numarray
--
Chris Fonnesbeck
Atlanta, GA