stuartornum wrote: > Hi, > > Im getting the error: > > <type 'exceptions.RuntimeError'>: Failed to create > /$dirstring$/common/.matplotlib; consider setting MPLCONFIGDIR to a writable > directory for matplotlib configuration data > > The problem is I do not have write access to the MatPlotLib module sourse, > so I cannot change the MPLCONFIGDIR variable, where ever it is..! > > So my question is can I set MPLCONFIGDIR to say "/home/user/dirs/" in my > script somewhere, so that I know the that directory has read/write access. > > Thank you for your time. > > Regards > Stuart: Why are you setting the MPLCONFIGDIR environment variable? By default, the configuration file goes in $HOME/.matplotlib, which is usually just fine. Typically $MPLCONFIGDIR is used to override this in special situations, for example when running matplotlib in a web application.
-Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : [EMAIL PROTECTED] 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users