>From an extension? How to import numpy from there and then test if that succeeded and that without any annoying message if possible...<div><br></div><div>Thanks,</div><div><br></div><div>Peter<br><br><div class="gmail_quote">

On Wed, Feb 3, 2010 at 1:34 AM, David Cournapeau <span dir="ltr"><<a href="mailto:david@silveregg.co.jp">david@silveregg.co.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Peter Notebaert wrote:<br>
<br>
> How can I test if numpy is installed on the system from the extension so<br>
> that I do not active the numpy functionality and that it is still able<br>
> to use my extension, but then without numpy support?<br>
<br>
Is there some reason why you cannot try to import numpy first to check<br>
whether it is available ?<br>
<br>
cheers,<br>
<br>
David<br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br>
</blockquote></div><br></div>