[Numpy-discussion] Determine if numpy is installed from an extension

David Cournapeau david@silveregg.co...
Tue Feb 2 18:34:55 CST 2010


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


More information about the NumPy-Discussion mailing list