[Numpy-discussion] Determine if numpy is installed from an extension
Peter Notebaert
peno@telenet...
Wed Feb 3 02:38:33 CST 2010
>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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100203/e56062d9/attachment.html
More information about the NumPy-Discussion
mailing list