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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to