[NUMPY] "ValueError: total size of new array must be unchanged" just on Windows

Yaşar Arabacı yasar11732 at gmail.com
Sun Oct 9 17:50:45 EDT 2011


I don't know about your problem, but did you compare numpy versions in
windows and other platforms? You may have newer/older version in Windows.
Otherwise, it looks like a platform spesific bug to me.

2011/10/9 Paolo Zaffino <zaffino.p at gmail.com>

> Hello,
> I wrote a function that works on a numpy matrix and it works fine on
> Mac OS and GNU/Linux (I didn't test it on python 3)
> Now I have a problem with numpy: the same python file doesn't work on
> Windows (Windows xp, python 2.7 and numpy 2.6.1).
> I get this error:
>
> matrix=matrix.reshape(a, b, c)
> ValueError: total size of new array must be unchanged
>
> Why? Do anyone have an idea about this?
> Thank you very much.
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
http://yasar.serveblog.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20111010/e6f07bd0/attachment-0001.html>


More information about the Python-list mailing list