Re: [Numpy-discussion] defmatrix move and unpickling of old data

2010-04-05 Thread David Reichert
Hi, Just to let you know, I now fixed the problem using: import sys import numpy sys.modules['numpy.core.defmatrix'] = numpy.matrixlib.defmatrix The key is that the statement "import numpy.core.defmatrix" needs to work for unpickling to succeed, and just renaming things isn't enough. Cheers

[Numpy-discussion] defmatrix move and unpickling of old data

2010-04-03 Thread David Reichert
Hi, After some work I got an optimized numpy compiled on a machine where I don't have root access, but I had to use numpy 1.4.0 to make it work. Now I have the problem that I cannot seem to unpickle data I had created using numpy 1.3, getting an ImportError about defmatrix not being found. I unde