I a having trouble getting pylab working on Solaris. I can get it to install *I think* (though who knows how right it really is) but trying to use it just gives me an error. I admit that I know almost nothing about python and I know less about Solaris than GNU/Linux... I'm just tasked with installing. If anyone can point me in a direction, that would be great.
bash-3.00# uname -a
SunOS prague 5.10 Generic_127111-11 sun4u sparc SUNW,Sun-Blade-1500
bash-3.00# ipython
WARNING: Readline services not available on this platform.
WARNING: The auto-indent feature requires the readline library
Python 2.5.1 (r251:54863, Aug 23 2007, 14:50:40) [C]
Type "copyright", "credits" or "license" for more information.
IPython 0.8.4 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: import numpy
In [2]: print numpy.__version__
1.2.1
In [3]: import pylab
···
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/usr/local/versions/<ipython console> in <module>()
/usr/local/versions/python-2.5.1/lib/python2.5/site-packages/pylab.py in <module>()
----> 1 from matplotlib.pylab import *
2 import matplotlib.pylab
3 __doc__ = matplotlib.pylab.__doc__
/usr/local/versions/python-2.5.1/lib/python2.5/site-packages/matplotlib/pylab.py in <module>()
204 from numpy import ma
205
--> 206 from matplotlib import mpl # pulls in most modules
207
208 from matplotlib.dates import date2num, num2date,\
/usr/local/versions/python-2.5.1/lib/python2.5/site-packages/matplotlib/mpl.py in <module>()
2 from matplotlib import axis
3 from matplotlib import axes
4 from matplotlib import cbook
5 from matplotlib import collections
6 from matplotlib import colors
/usr/local/versions/python-2.5.1/lib/python2.5/site-packages/matplotlib/artist.py in <module>()
3 import matplotlib
4 import matplotlib.cbook as cbook
----> 5 from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath
6 from path import Path
7
/usr/local/versions/python-2.5.1/lib/python2.5/site-packages/matplotlib/transforms.py in <module>()
32 import numpy as np
33 from numpy import ma
---> 34 from matplotlib._path import affine_transform
35 from numpy.linalg import inv
36
ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/versions/python-2.5.1/lib/python2.5/site-packages/matplotlib/_path.so: symbol __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___J__nullref_: referenced symbol not found
+----------------------------------+
Gregory S. Morin |
Graduate Assistant |
RIT CS Dept. |
>
"Quis custodiet ipsos custodes?" |
+----------------------------------+