Hi people,
I'm new to unix, python and matplotlib. I've had trouble installing matplotlib.
The machine I'm on is running solaris. I tried installing it on my friend's
ubuntu box and it worked basically immediately. After some effort I managed to
get it to compile and install on solaris.
In python as root when I type "from pylab import *" I get this error:
=========================
ImportError: ld.so.1: python: fatal: relocation error: file
/opt/csw/lib/python/site-packages/matplotlib/_path.so: symbol __1c2N6FI_pv_:
referenced symbol not found
=========================
As my normal account I get this:
=========================
Traceback (most recent call last):
File "test.py", line 1, in <module>
from pylab import *
File "/opt/csw/lib/python/site-packages/pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "/opt/csw/lib/python/site-packages/matplotlib/__init__.py", line 677, in
<module>
rcParams = rc_params()
File "/opt/csw/lib/python/site-packages/matplotlib/__init__.py", line 598, in
rc_params
fname = matplotlib_fname()
File "/opt/csw/lib/python/site-packages/matplotlib/__init__.py", line 548, in
matplotlib_fname
fname = os.path.join(get_configdir(), 'matplotlibrc')
File "/opt/csw/lib/python/site-packages/matplotlib/__init__.py", line 242, in
wrapper
ret = func(*args, **kwargs)
File "/opt/csw/lib/python/site-packages/matplotlib/__init__.py", line 435, in
_get_configdir
raise RuntimeError("'%s' is not a writable dir; you must set %s/.matplotlib
to be a writable dir. You can also set environment variable MPLCONFIGDIR to
any writable directory where you want matplotlib data stored "% (h, h))
RuntimeError: '/local/host/home/mctran' is not a writable dir; you must set
/local/host/home/mctran/.matplotlib to be a writable dir. You can also set
environment variable MPLCONFIGDIR to any writable directory where you want
matplotlib data stored
=========================
when I tried to set MPLCONFIGDIR to a directory, I got the earlier error. I
tried recompiling and reinstalling to no avail.
I searched on the mailing list for anything like this, but there were no hits.
Any ideas how I can fix this?
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users