On Mon, Sep 6, 2010 at 3:27 PM, Jean-François MAUREL
wrote:
> Hi everyone,
>
> I get the error: 'DLL load failed' when loading numpy in embedded
> python. I could not find a solution in the archive.
> Any help appreciated.
Could you get a more detailed log (looking into one of myriad logging
sys
Hi everyone,
I get the error: 'DLL load failed' when loading numpy in embedded
python. I could not find a solution in the archive.
Any help appreciated.
I have written a test as follows (borrowed from an other post):
#include
#include
#include
int load(){
PyObject *errobj, *errdata, *er
2010/9/5 Ernest Adrogué :
> 5/09/10 @ 15:59 (-0500), thus spake Robert Kern:
>> 2010/9/5 Ernest Adrogué :
>> > 5/09/10 @ 21:25 (+0200), thus spake Gael Varoquaux:
>> >> On Sun, Sep 05, 2010 at 09:12:34PM +0200, Ernest Adrogué wrote:
>> >> > Hi,
>> >>
>> >> > How can it be done?
>> >>
>> >> np.may
5/09/10 @ 15:59 (-0500), thus spake Robert Kern:
> 2010/9/5 Ernest Adrogué :
> > 5/09/10 @ 21:25 (+0200), thus spake Gael Varoquaux:
> >> On Sun, Sep 05, 2010 at 09:12:34PM +0200, Ernest Adrogué wrote:
> >> > Hi,
> >>
> >> > How can it be done?
> >>
> >> np.may_share_memory
> >
> > Thanks Gael an
2010/9/5 Ernest Adrogué :
> 5/09/10 @ 21:25 (+0200), thus spake Gael Varoquaux:
>> On Sun, Sep 05, 2010 at 09:12:34PM +0200, Ernest Adrogué wrote:
>> > Hi,
>>
>> > How can it be done?
>>
>> np.may_share_memory
>
> Thanks Gael and Puneeth.
> I think the .base attribute is enough for what I want.
N
5/09/10 @ 21:25 (+0200), thus spake Gael Varoquaux:
> On Sun, Sep 05, 2010 at 09:12:34PM +0200, Ernest Adrogué wrote:
> > Hi,
>
> > How can it be done?
>
> np.may_share_memory
Thanks Gael and Puneeth.
I think the .base attribute is enough for what I want.
Bye :)
>
> __
On Sun, Sep 05, 2010 at 09:12:34PM +0200, Ernest Adrogué wrote:
> Hi,
> How can it be done?
np.may_share_memory
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
2010/9/6 Ernest Adrogué :
> Hi,
>
> How can it be done?
>
> id() doesn't do it:
>
> In [238]: a= np.arange(5)
>
> In [239]: id(a) == id(a[:])
> Out[239]: False
>
> Any ideas?
Checking for a[:].base and a[:].size works. I'm not sure if that is a
good way to do it.
(a[:].base is a and a[:].size == a
Hi,
How can it be done?
id() doesn't do it:
In [238]: a= np.arange(5)
In [239]: id(a) == id(a[:])
Out[239]: False
Any ideas?
Ernest
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion