Gabriel Genellina wrote:

> En Tue, 17 May 2011 08:41:41 -0300, Neal Becker <ndbeck...@gmail.com>
> escribió:
> 
>> What does it mean when cPickle.load says:
>> RuntimeError: invalid signature
>>
>> Is binary format not portable?
> 
> Are you sure that's the actual error message?
> I cannot find such message anywhere in the sources.
> The pickle format is quite portable, even cross-version. As a generic
> answer, make sure you open the file in binary mode, both when writing and
> reading.
> 

Yes, that's the message.

Part of what is pickled is a numpy array.  I am writing on a 32-bit linux 
system 
and reading on a 64-bit system.  Reading on the 64-bit system is no problem.

Maybe the message comes from numpy's unpickling?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to