So sorry for posting yet another of these types of questions, I've looked extensively and can't find an answer.
I'm a Python nub, and have only a loose grasp of Unix.
I specifically need to develop in Python2.5. I also need access to AppKit. I'd installed Python2.5 via the universal installer along with the libraries I needed. At the time, the default OS install, 2.7, was able to import AppKit. Python2.5, meanwhile, could not. I found this tutorial for replacing the native install of Python, and thought that if I followed it to the letter but for switching out the 2.7 install for 2.5, everything would be swell.
After following the tutorial, my native Python is indeed 2.5. However, AppKit, which continues to be installed where it previously had been working for the native Python, still cannot be imported (ie. "no module named AppKit").
- Xcode is v.4.6.1 and CL tools are installed
- from bash,
which python
returns/usr/bin/python
- My primary install is at:
/System/Library/Frameworks/Python.framework
with symbolic links to/Library/Frameworks/Python.framework
. The binaries are likewise linked;usr/bin/python
(and pythonw, python-config, pydoc) are all symlinked to/usr/local/bin
. - I've deleted smtpd.py in every location I'd found it
- I've left easy_install (and easy_install-2.5/6/7) in both
/usr/bin
and/usr/local/bin
because I've never used easy_install and didn't know either way what to do with it.
I'm perfectly aware of how profoundly I've messed everything up. Can anyone please tell me what I need to be doing to get things back in order?
UPDATE: Following the comments below, I did indeed end up re-installing Mountain Lion. Couldn't have been less painless; I had indeed correctly installed AppKit, and as soon as the native Python was reinstalled I was able to work immediately.