piyali.de.bis at gmail.com
Wed Apr 18 15:14:45 CEST 2007
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list