trouble importing pylab using cgi script

Sorry to bother -- The answer to my question was at:

--- 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
in a cgi script and am having problems getting them
import. When I try to import pylab I get the
following error:




line 64, in _init _gtk.init_check()
RuntimeError: could not open display

Im sure this is easy to fix, but how would I go
doing it? I want to save jpg files from computed
and then serve them up to a web page.

Thanks, John


Need a vacation? Get great deals
to amazing places on Yahoo! Travel.

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.