solved

piyali biswas piyali.de.bis at gmail.com
Wed Apr 18 15:14:45 CEST 2007


hi all,
I solved the problem with the help of python cookbook+matplotlib
I was getting the main error as *
raise RuntimeError("'%s' is not a writable dir; you must set
environment variable HOME to be
*
* a writable dir "%h)*
Matplotlib needs the environment variable HOME to point to a writable
directory.Thats why i did
os.environ[ 'HOME' ] = 'C:/temp'
and the cgi-script worked.
For further questions about cgi+matplotlib/networkx please see
http://www.scipy.org/Cookbook. Its very useful

Thanks,
Piyali Biswas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070418/27cc9873/attachment.html>


More information about the Python-list mailing list