<br><br><div class="gmail_quote">On Thu, Sep 15, 2011 at 5:55 PM, Peter Cock <span dir="ltr">&lt;<a href="mailto:p.j.a.cock@googlemail.com">p.j.a.cock@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Sep 15, 2011 at 10:02 PM, Alex Gaynor &lt;<a href="mailto:alex.gaynor@gmail.com">alex.gaynor@gmail.com</a>&gt; wrote:<br>
&gt; I think, for the time being, the appropriate solution is to just check the<br>
&gt; Python version, the original NumPy doesn&#39;t run on PyPy so it should be fine.<br>
&gt; Alex<br>
<br>
</div>How precisely?<br>
<br>
The problem I am running into is that &quot;import numpy&quot; appears<br>
to work under PyPy 1.6 (you get micronumpy) but later things like<br>
numpy.get_include() don&#39;t work (AttributeError). Should I just treat<br>
that exception itself as meaning it is micronumpy not real numpy?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Peter<br>
</font></blockquote></div><br>Well, until we implement it anyways :)  That&#39;s why I think something like &quot;import platform; platform.python_implementation == &#39;PyPy&#39;&quot; is a godo way to check.<div><br></div>
<div>Alex<br clear="all"><div><br></div>-- <br>&quot;I disapprove of what you say, but I will defend to the death your right to say it.&quot; -- Evelyn Beatrice Hall (summarizing Voltaire)<br>&quot;The people&#39;s good is the highest law.&quot; -- Cicero<br>
<br>
</div>