<br><br><div class="gmail_quote">On Thu, Sep 15, 2011 at 5:55 PM, Peter Cock <span dir="ltr"><<a href="mailto:p.j.a.cock@googlemail.com">p.j.a.cock@googlemail.com</a>></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 <<a href="mailto:alex.gaynor@gmail.com">alex.gaynor@gmail.com</a>> wrote:<br>
> I think, for the time being, the appropriate solution is to just check the<br>
> Python version, the original NumPy doesn't run on PyPy so it should be fine.<br>
> Alex<br>
<br>
</div>How precisely?<br>
<br>
The problem I am running into is that "import numpy" appears<br>
to work under PyPy 1.6 (you get micronumpy) but later things like<br>
numpy.get_include() don'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's why I think something like "import platform; platform.python_implementation == 'PyPy'" is a godo way to check.<div><br></div>
<div>Alex<br clear="all"><div><br></div>-- <br>"I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)<br>"The people's good is the highest law." -- Cicero<br>
<br>
</div>