[Numpy-discussion] Problems with numpy binary for Python2.7 + OS X 10.6

Christopher Barker Chris.Barker at noaa.gov
Tue Jul 26 12:59:22 EDT 2011


On 7/25/11 1:00 PM, Ian Stokes-Rees wrote:
> As best I can tell, I have Python 2.7.2 for my system Python:
>
> [ijstokes at moose ~]$ python -V
> Python 2.7.2
>
> [ijstokes at moose ~]$ which python
> /Library/Frameworks/Python.framework/Versions/2.7/bin/python

yup -- that is probably the python.org python.

However, there are now two different builds of 2.7 for OS-X the "10.3" 
one, which is 32 bit, PPC+Intel, 10.3.9 and above, and the "10.6" build, 
which is 32bit_64bit, Intel only, and only runs on 10.6 and above.

> however when I attempt to install the recent numpy binary
> python-2.7.2-macosx10.6.dmg I get stopped at the first stage of the
> install procedure with the error:
>
> numpy 1.6.1 can't be installed on this disk.  numpy requires System
> Python 2.7 to install.

You need a numpy build that matches the python build, I suspect you have 
a mis-match. Check carefully which ones you downloaded and make sure 
they match.

>  Is it looking for
> /usr/bin/python2.7?  For that, I only have up to 2.6 available. (and 2.5)

No. The "System Python" term is a misnomer that somehow has never gotten 
fixed in the installer -- what it is really looking for is the 
python.org build.

HTH,
-Chris


> Cheers,
>
> Ian
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov



More information about the NumPy-Discussion mailing list