On Thu, 16 Nov 2006, Marek Szczypi�~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'] = '/tmp/'

Does that help?

Also, BTW, the user running Zope should have a home directory that he can write to. Fix that in /etc/passwd and you should be okay (and not need the above hack).

-- Asheesh.

--
QOTD:
        "I thought I saw a unicorn on the way over, but it was just a
        horse with one of the horns broken off."
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to