piyali biswas at
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 Its very useful

Piyali Biswas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list