Sorry to bother -- The answer to my question was at:
http://www.scipy.org/Cookbook/Matplotlib/Using_MatPlotLib_in_a_CGI_script
John
--- JJ <josh8912@...9...> wrote:
Hello all:
I am developing a website, initially on my local
machine using the apache httpd server. My linux box
has scipy/numpy/pylab installed, and they work fine
from a terminal. However, I need to use the
programs
in a cgi script and am having problems getting them
to
import. When I try to import pylab I get the
following error:File
"/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py",
ยทยทยท
line 64, in _init _gtk.init_check()
RuntimeError: could not open displayIm sure this is easy to fix, but how would I go
about
doing it? I want to save jpg files from computed
data
and then serve them up to a web page.Thanks, John
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/