[Numpy-discussion] Re: Trouble installing numarray on Solaris

Thomas Heller theller at python.net
Mon Jul 4 04:43:22 EDT 2005


Todd Miller <jmiller at stsci.edu> writes:

> On Fri, 2005-07-01 at 15:02 -0700, Russell E. Owen wrote:
>> A user of my application reports that installing numarray 1.3.2 on 
>> Solaris using Python 2.3.1 has run into trouble:
>> 
>>   prompt> python
>>   Python 2.3.1 (#1, Sep 30 2003, 20:29:58) [C] on sunos5
>>   Type "help", "copyright", "credits" or "license" for more information.
>>   >>> import numarray
>>   Fatal Python error: Call to API function without first calling
>>   import_libnumarray() in Src/_convmodule.c
>>   Abort (core dumped)
>
> It looks vaguely like an binary API mismatch of some kind... or one of
> you numarray modules is stale or broken.  To restate the obvious,   it's
> likely that numarray won't import (in C!) because import_libnumarray()
> is very defintely in _convmodule.c.  Since it's there and the API
> pointer was not initialized,  the libnumarray import failed.

To the numarray authors/maintainers: Isn't it a bit harsh to call
Py_FatalError() in the init function?

Thomas





More information about the NumPy-Discussion mailing list