Re: [Matplotlib-users] Problems with saving figure from within mod_python script

2009-02-22 Thread Jae-Joon Lee
I think the error is raised when you try to import matplotlib (not when you try to save your figure) matplotlib needs its config directory writable. It first try MPLCONFIGDIR env. variable, then try $HOME/.matplotlib. Here, the $HOME is the home directory of the user executing the script. I think i

[Matplotlib-users] Problems with saving figure from within mod_python script

2009-02-22 Thread bpklmd
I have searched the web for a solution to the following problem and nothing works. I call matplotlib code from a python script (2.5) running on Apache2.2 and mod_python. When I get to the point where I the code is to save a figure in the website dir I get the following error. File "/usr/lib/p