From: Asheesh L. <as...@as...> - 2006-11-16 18:37:52
|
On Thu, 16 Nov 2006, Marek Szczypi=C5~Dski wrote: > Error Type: RuntimeError > Error Value: '/' is not a writable dir; you must set environment > variable HOME to be a writable dir Just before you import matplotlib or pylab, try this: import os os.environ['HOME'] =3D '/tmp/' Does that help? Also, BTW, the user running Zope should have a home directory that he can= =20 write to. Fix that in /etc/passwd and you should be okay (and not need=20 the above hack). -- Asheesh. --=20 QOTD: =09"I thought I saw a unicorn on the way over, but it was just a =09horse with one of the horns broken off." |