Unless you try to run it as root, it will not work. Your file
permissions are a mess.
Please do the following (as root or via sudo) and try again
$ chmod 755 /flib.so
On 2/6/08, Chris <[EMAIL PROTECTED]> wrote:
> Pearu Peterson cens.ioc.ee> writes:
> > > This works fine on Windows and Mac; the
Alan G Isaac wrote:
> On Thu, 07 Feb 2008, dmitrey apparently wrote:
>> a = array((1.0, 2.0))
>> e = array(15)
>> e *= a # ... yields error:
>
> You are trying to stuff in two values where
> you have only allocated space for 1.
Exactly. but to expound a bit more:
The ?= operators are in-place op
On Thu, 07 Feb 2008, dmitrey apparently wrote:
> a = array((1.0, 2.0))
> e = array(15)
> e *= a # ... yields error:
You are trying to stuff in two values where
you have only allocated space for 1.
Cheers,
Alan Isaac
___
Numpy-discussion mailing list
from numpy import array
a = array((1.0, 2.0))
b = c = 15
b = b*a#ok
c *= a#ok
d = array(15)
e = array(15)
d = d*a#this works ok
e *= a#this intended to be same as prev line, but yields error:
Traceback (innermost last):
File "", line 1, in
ValueError: invalid return array shape