Hi everybody,
Could you help me with this problem: I can import matplotlib from the
shell, it displayed this
>>> import matplotlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/dist-packages/matplotlib/__init__.py", line
696, in <module>
rcParams = rc_params()
File "/usr/lib/python2.6/dist-packages/matplotlib/__init__.py", line
617, in rc_params
fname = matplotlib_fname()
File "/usr/lib/python2.6/dist-packages/matplotlib/__init__.py", line
567, in matplotlib_fname
fname = os.path.join(get_configdir(), 'matplotlibrc')
File "/usr/lib/python2.6/dist-packages/matplotlib/__init__.py", line
240, in wrapper
ret = func(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/matplotlib/__init__.py", line
436, 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: '/home/ionek' is not a writable dir; you must set
/home/ionek/.matplotlib to be a writable dir. You can also set
environment variable MPLCONFIGDIR to any writable directory where you
want matplotlib data stored
>>>
I don't know what to do.
Best regards
Luis Omar
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users