I'm working on getting Python installed on my Mac 10.5.8 and I have been having a heck of a lot of trouble.

The standard downloads at Python.org do not show a compatible version.

  • They have 10.3 - 10.6 for 32 bit
  • They have 10.6 - 10.7 for 64 bit

I tried downloading and installing the 32 bit version for 10.5, yet when launching the IDLE, it "Unexpectedly" quits.

I've been told that Python comes pre-installed on Mac OSX computers, but when running "python" in the terminal I receive this error:

william-johnsons-macbook:~ Will$ python
dyld: unknown required load command 0x80000022
Trace/BPT trap
william-johnsons-macbook:~ Will$ 

If anyone has any advice or other references not on the python.org site, I would really appreciate it.

  • 1
    The binaries on python.org aren't really the best way to install python on OS X. You should really be using homebrew anyway: mxcl.github.com/homebrew – Aaron Gallagher Sep 17 '11 at 16:52
  • @AaronGallagher can you give any reason for that? the Apple python maillist suggests the python one over packages + homebrew should end up the same as the python.org one – user151019 Sep 24 '11 at 19:21
  • @user950280 - if you get that at the prompt you have a broken install - what does which python show or /usr/bin/python – user151019 Sep 24 '11 at 19:22

It's been a long time since I had to do this for 10.5.8, but I followed these instructions: http://web.archive.org/web/20090508090926/http://blog.captnswing.net/2009/04/19/python-mod_wsgi-64bit-mac-os-x-105/ (note that the original website is gone, hence the WayBack link)

Here's a post I made on the topic back when I was trying: http://buffalothedestroyer.blogspot.com/2009/04/python-64-bit.html

But, do you need 64 bit python on 10.5.8? Frankly, I don't think it's worth the pain - I'd pay a few bucks and upgrade to 10.6 or 10.7.

If it's just a problem with 32-bit python, which python are you using? (i.e., what does which python return?)

| improve this answer | |

What's about python from MacPorts? it is the same as from Python.org, but for your architecture and you can manage libs more easily.

| improve this answer | |

You must log in to answer this question.