Hi,
I have Python 2.6 installed on RHEL5 (and Numpy 1.4.1) and am trying to install
matplotlib. Installation occurs without any error messages although I do get a
bunch of warnings at the end.
/usr/bin/ld: skipping incompatible /usr/lib/libtk8.4.so when searching for
-ltk8.4
/usr/bin/ld: skipping incompatible /usr/lib/libtcl8.4.so when searching for
-ltcl8.4
/usr/bin/ld: skipping incompatible /usr/lib/libfreetype.so when searching for
-lfreetype
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
When I try using matplotlib I get the following error:
Python 2.6.5 (r265:79063, May 18 2010, 11:20:57)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot as plt
>>> plt.plot([1,0],[2,3])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/home/swdata/.virtualenvs/web/lib/python2.6/site-packages/matplotlib/pyplot.py",
line 2141, in plot
ret = ax.plot(*args, **kwargs)
File
"/home/swdata/.virtualenvs/web/lib/python2.6/site-packages/matplotlib/axes.py",
line 3437, in plot
self.autoscale_view(scalex=scalex, scaley=scaley)
File
"/home/swdata/.virtualenvs/web/lib/python2.6/site-packages/matplotlib/axes.py",
line 1624, in autoscale_view
XL = self.xaxis.get_major_locator().view_limits(x0, x1)
File
"/home/swdata/.virtualenvs/web/lib/python2.6/site-packages/matplotlib/ticker.py",
line 1014, in view_limits
return np.take(self.bin_boundaries(dmin, dmax), [0,-1])
File
"/home/swdata/.virtualenvs/web/lib/python2.6/site-packages/numpy/core/fromnumeric.py",
line 103, in take
return take(indices, axis, out, mode)
IndexError: index out of range for array
Any help would be appreciated. I've tried several versions of matplotlib. I
also was able to get it installed on a different RHEL5 machine a while back and
am not sure what is different about this machine.
thanks
- dharhas
------------------------------------------------------------------------------
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