[Numpy-discussion] Unable to get most basic numpy array creation from C++ working.

rif rif at google.com
Sat Jul 31 09:17:46 EDT 2010


On Fri, Jul 30, 2010 at 10:17 PM, Kevin Jacobs <jacobs at bioinformed.com> <
bioinformed at gmail.com> wrote:

> On Fri, Jul 30, 2010 at 10:08 PM, rif <rif at google.com> wrote:
>
>> Hi numpy-discuss
>> .
>> I've distilled my problem down to a very simple program that segfaults.
>> I'm sure I'm doing something silly, but hopefully someone can point me in
>> the right direction.  I create a program called numpy_test.cc:
>>
>>
> You must call import_array() before using any of the NumPy APIs.
>
> -Kevin
>

Thank you!

rif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100731/62b18625/attachment.html>


More information about the NumPy-Discussion mailing list