[SciPy-user] scipy.io.mio.savemat error

Robert Kern robert.kern at gmail.com
Sat Jun 24 23:09:04 CDT 2006


Keith Goodman wrote:
> After installing the latest numpy and scipy from svn, I get an error
> when I use scipy.io.mio.savemat
> 
> /usr/local/lib/python2.4/site-packages/scipy/io/mio.py in
> savemat(filename, dict)
>     851         filename = filename + ".mat"
>     852     fid = fopen(filename,'wb')
> --> 853     M = not LittleEndian
>     854     O = 0
>     855     for variable in dict.keys():
> 
> NameError: global name 'LittleEndian' is not defined

Fixed in SVN.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco



More information about the SciPy-user mailing list