[Numpy-discussion] ValueError: setting an array element with a sequence.
Charles R Harris
charlesr.harris@gmail....
Tue Sep 16 11:05:03 CDT 2008
On Tue, Sep 16, 2008 at 9:05 AM, Lisa Delgado <LisaAnnDelgado@gmail.com>wrote:
> Hi,
>
> I had previously run a program successfully when using numpy 1.1.0. I just
> downloaded the Enthought Python Distribution, which has numpy 1.0.4 and am
> now
> having problems running my program. I get the following error.
>
> Traceback (most recent call last):
> File "/Users/Lisa/Documents/Dissertation work/PythonPrograms/NashEq.py",
> line
> 57, in <module>
> EffortCosts[i,j] = buyeragents[i][j]
> ValueError: setting an array element with a sequence.
>
What type is buyeragents? Numpy 1.1.0 fixes a number of bugs in 1.0.4 and
you may have been bitten by that.
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080916/4dfb5aeb/attachment.html
More information about the Numpy-discussion
mailing list