Mr. M wrote:

> Somehow, the bug does not show up any more. I believe it was due to the 
> numpy version that is fetched by cPickle. Is there any way to control 
> (or even determine), which library version cPickle grabs for unpickling 
> a numpy array (numpy, scipy, etc)?

You can import the appropriate module first. Then it will be in sys.modules and
be picked up during unpickling. You may have to do some sys.path manipulation if
you have more than one version lieing about on your filesystem.

-- 
Robert Kern
[EMAIL PROTECTED]

"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

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

Reply via email to