[Numpy-discussion] Having trouble installing Numpy on OS X
Sat Jan 24 18:41:49 CST 2009
On Sat, Jan 24, 2009 at 18:31, Nat Wilson <email@example.com> wrote:
> It throws this out.
> Python 2.6.1 (r261:67515, Jan 24 2009, 16:08:37)
> [GCC 4.0.0 20041026 (Apple Computer, Inc. build 4061)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import os
> >>> os.urandom(16)
Well, looking at the C code for random_seed(), I don't see a way for
it to return NULL without having an exception set (assuming that the
Python API calls aren't buggy). Except maybe the assert() call in
there. When you built your Python, are you sure that -DNDEBUG was
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion