On Sunday, May 15, 2011, Alice Marcot wrote:
> I am trying use matplotlib on CentOS through a PHP script. If I run it on the
> command line it works fine and generates a PNG figure. If I run with another
> user,
>
> sudo -u apache python filename.py
>
> it gives error: Cannot obtain dvipng versi
I am trying use matplotlib on CentOS through a PHP script. If I run it on
the command line it works fine and generates a PNG figure. If I run with
another user,
sudo -u apache python filename.py
it gives error: Cannot obtain dvipng version.
Any ideas? I search the net but no answers. It looks li