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 display

Im 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/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to