Numpy 1.5.1 - Mac - with Activestate Python 3

I have installed ActiveState's Python 3 packages on Mac OS X 10.6.6. There exists: /Library/Frameworks/Python.framework/Versions/Current/Python* When I run the Mac OS installer it shows all disks as ineligible and the error message, "numpy 1.5.1 can't be installed on this disk. numpy requires System Python 2.6 to install." What can I do to persuade numpy to install? Must I build it from source to get it to use Python 3? Sorry for the Noob question, Dave Cortesi

On 1/12/2011 12:57 PM, David Cortesi wrote:
I have installed ActiveState's Python 3 packages on Mac OS X 10.6.6.
When I run the Mac OS installer it shows all disks as ineligible and the error message, "numpy 1.5.1 can't be installed on this disk. numpy requires System Python 2.6 to install."
Sorry, that is is a bad error message. What I'm pretty sure it means to say is: "numpy requires the Python 2.6 binary from python.org " I looked at this error message ages ago, and It's less trivial to fix that you'd think -- but I thought it had been fixed.
What can I do to persuade numpy to install? Must I build it from source to get it to use Python 3?
You *may* need the python.org binary, rather than ActiveState, but it looks like you're trying to install a numpy binary for 2.6 -- that's not going to work on 3.* -- look for a binary for 3.* -- I'm not sure it exists, though. NOTE: if you're still confused, tell us exactly what file you are trying to install from, and where you downloaded it from. -Chris -- 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@noaa.gov

On Thu, Jan 13, 2011 at 3:32 AM, Chris Barker <Chris.Barker@noaa.gov> wrote:
On 1/12/2011 12:57 PM, David Cortesi wrote:
I have installed ActiveState's Python 3 packages on Mac OS X 10.6.6.
When I run the Mac OS installer it shows all disks as ineligible and the error message, "numpy 1.5.1 can't be installed on this disk. numpy requires System Python 2.6 to install."
Sorry, that is is a bad error message. What I'm pretty sure it means to say is:
"numpy requires the Python 2.6 binary from python.org "
I looked at this error message ages ago, and It's less trivial to fix that you'd think -- but I thought it had been fixed.
What can I do to persuade numpy to install? Must I build it from source to get it to use Python 3?
You *may* need the python.org binary, rather than ActiveState, but it looks like you're trying to install a numpy binary for 2.6 -- that's not going to work on 3.* -- look for a binary for 3.* -- I'm not sure it exists, though.
NOTE: if you're still confused, tell us exactly what file you are trying to install from, and where you downloaded it from.
-Chris
Hi David, the simple answer you might be looking for is: it's easier to stay with Python 2.x for a while... Can you deinstall the ActiveState 3 version ? Cheers, - Sebastian Haase

On Thu, Jan 13, 2011 at 5:06 PM, Sebastian Haase <seb.haase@gmail.com>wrote:
On Thu, Jan 13, 2011 at 3:32 AM, Chris Barker <Chris.Barker@noaa.gov> wrote:
On 1/12/2011 12:57 PM, David Cortesi wrote:
I have installed ActiveState's Python 3 packages on Mac OS X 10.6.6.
When I run the Mac OS installer it shows all disks as ineligible and the error message, "numpy 1.5.1 can't be installed on this disk. numpy requires System Python 2.6 to install."
Sorry, that is is a bad error message. What I'm pretty sure it means to say is:
"numpy requires the Python 2.6 binary from python.org "
I looked at this error message ages ago, and It's less trivial to fix that you'd think -- but I thought it had been fixed.
That message comes from bdist_mpkg. I fixed it on my machine, and a fix was also committed to the svn repo. However, I think there was no new bdist_mpkg release on pypi (I did get a "why don't you just use eggs instead?") and the 1.5.1 binaries were not made on my machine. So the problem returned.
What can I do to persuade numpy to install? Must I build it from source to get it to use Python 3?
Yes, there is no binary for Python 3 at the moment. But unless you have a specific need/desire to use 3.1/3.2 I'd suggest staying with 2.6 or 2.7 from python.org for now. With Activestate you have to compile yourself or use their (paid?) pypm repo. Cheers, Ralf
participants (4)
-
Chris Barker
-
David Cortesi
-
Ralf Gommers
-
Sebastian Haase