>From an extension? How to import numpy from there and then test if that succeeded and that without any annoying message if possible...

Thanks,

Peter

On Wed, Feb 3, 2010 at 1:34 AM, David Cournapeau <david@silveregg.co.jp> wrote:
Peter Notebaert wrote:

> How can I test if numpy is installed on the system from the extension so
> that I do not active the numpy functionality and that it is still able
> to use my extension, but then without numpy support?

Is there some reason why you cannot try to import numpy first to check
whether it is available ?

cheers,

David
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion