[SciPy-user] odepack or f2py error

Fabrice Silva silva@lma.cnrs-mrs...
Thu Jul 17 05:52:15 CDT 2008


Le mercredi 16 juillet 2008 à 19:09 -0500, Robert Kern a écrit :
> Can you try doing this:
> 
        import locale
        encoding = locale.getpreferredencoding()

'Preferred encoding' seems not to be affected by pylab import.

        import locale
        print locale.getpreferredencoding()
        import pylab
        print locale.getpreferredencoding()

gives
        UTF-8
        UTF-8
and the script crashes or not as well depending pylab is import or not.

Is that what you were expecting ?
> 
-- 
Fabrice Silva



More information about the SciPy-user mailing list