Numeric import_array() problem - OS X 10.4

Paul Miller paul at fxtech.com
Wed Jul 5 16:35:34 EDT 2006


Paul Miller wrote:
> I had some code that used to work that now doesn't. It's an embedded 
> Python interpreter that uses numpy internally. The code calls 
> "import_array()", which now fails (and generates a "ImportError: No 
> module named _numpy" error).

Nevermind - "user error". A recent OS X update changed the paths Python 
looks in for site libraries.

I love it when Apple silently decides to break stuff. I can spend hours 
trying to track it all down instead of getting work done - but it's fun 
because I'm using a shiny Mac!




More information about the Python-list mailing list