It's a wild guess, but try to save your pickle with 'wb' as argument of
open, and protocol=-1. Then open it with 'rb'. It helped me fix some
cross-platform issues in the past.

-=- Olivier

2011/5/18 Neal Becker <ndbeck...@gmail.com>

> The file is pickle saved on i386 and loaded on x86_64.  It contains a numpy
> array (amoungst other things).
>
> On load it says:
>
> RuntimeError: invalid signature
>
> Is binary format not portable?
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to