<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>On Nov 6, 2015, at 3:57 PM, Robert McGibbon <<a href="mailto:rmcgibbo@gmail.com">rmcgibbo@gmail.com</a>> wrote:</div><div><br></div><blockquote type="cite"><div><div dir="ltr">I'm using the Python from the Miniconda installer with py35 released last week.</div></div></blockquote><div><br></div><div>Then you should not expect it to be able to find compatible binary wheels on PyPi.</div><div><br></div><div>Pretty much the entire point of conda is to support Numpy and friends. It's actually really good that it DIDN'T go and install a binary wheel.</div><div><br></div><div>You want:</div><div><br></div><div>conda install numpy</div><div><br></div><div>Trust me on that :-)</div><div><br></div><div>There are some cases where pip installing a source package into a conda Python is fine -- but mostly only pure-Python packages.</div><div><br></div><div>-CHB</div><div><br></div><br><blockquote type="cite"><div><div dir="ltr"><div><br></div><div>What does the <a href="http://python.org">python.org</a> installer build for 10.6+ return for `distutils.util.get_platform()`?<br><div><br></div><div>-Robert</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 6, 2015 at 2:50 PM, Ned Deily <span dir="ltr"><<a href="mailto:nad@acm.org" target="_blank">nad@acm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In article<br>
<<a href="mailto:CAN4%2BE8GZ4JrqFcbkwaK4rkfkx-T15b_ghmATh6RAeKhqKhxzMw@mail.gmail.com">CAN4+E8GZ4JrqFcbkwaK4rkfkx-T15b_ghmATh6RAeKhqKhxzMw@mail.gmail.com</a>>,<br>
<span class=""> Robert McGibbon <<a href="mailto:rmcgibbo@gmail.com">rmcgibbo@gmail.com</a>> wrote:<br>
> I just tried to run `pip install numpy` on my OS X 10.10.3 box, and it<br>
> proceeds to download and compile the tarball from PyPI from source (very<br>
> slow). I see, however, that pre-compiled OS X wheel files are available on<br>
> PyPI for OS X 10.6 and later.<br>
><br>
> Checking the code, it looks like pip is picking up the platform tag through<br>
> `distutils.util.get_platform()`, which returns 'macosx-10.5-x86_64' on this<br>
> machine. At root, I think this comes from the MACOSX_DEPLOYMENT_TARGET=10.5<br>
> entry in the Makefile at `python3.5/config-3.5m/Makefile`. I know that this<br>
> value is used by distutils compiling python extension modules -- presumably<br>
> so that they can be distributed to any target machine with OS X >=10.5 --<br>
> so that's good. But is this the right thing for pip to be using when<br>
> checking whether a binary wheel is compatible? I see it mentioned<br>
</span>> <<a href="https://www.python.org/dev/peps/pep-0425/#id13" rel="noreferrer" target="_blank">https://www.python.org/dev/peps/pep-0425/#id13</a>> in PEP 425, so perhaps<br>
<span class="">> this was already hashed out on the list.<br>
<br>
</span>Are you using an OS X Python installed from a <a href="http://python.org" rel="noreferrer" target="_blank">python.org</a> installer?  If<br>
so, be aware that there are two different OS X installers on <a href="http://python.org">Python.org</a><br>
for each current release.  One is intended for 10.5 systems, although it<br>
will work on later OS X systems.  The other is for 10.6 and later<br>
systems.  Unless you have a need to run on 10.5 or build something that<br>
works on 10.5, download and use the 10.6+ installers instead.  Then the<br>
existing whls for products like Numpy should work just fine.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
 Ned Deily,<br>
 <a href="mailto:nad@acm.org">nad@acm.org</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</div></div></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a></span><br><span><a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a></span><br></div></blockquote></body></html>