[SciPy-user] odepack or f2py error

Pauli Virtanen pav@iki...
Thu Jul 17 02:49:45 CDT 2008


Thu, 17 Jul 2008 03:06:19 +0200, Fabrice Silva wrote:

> Le mercredi 16 juillet 2008 à 19:52 +0000, Pauli Virtanen a écrit :
>> gcc bug #36857. Can be worked around by
>> 
>> 	export LC_ALL=C
>> in shell before running your codes.
>> (The scipy ticket can be closed.)
> 
> If this bug is linked to locale setting and decimal separator symbol,
> how can it be explained that without pylab import, the displayed results
> is
[clip]
> and with pylab import, it crashes as follows:
[clip]

As said in the ticket comments, pylab imports gtk, which calls setlocale 
and sets the active locale according to the environment variables. This 
does not occur if you don't import pylab or call setlocale through some 
other route.

-- 
Pauli Virtanen



More information about the SciPy-user mailing list