1

I've made the tragic mistake of downloading and installing python 2.7 from http://www.python.org/download/releases/2.7/ instead of using homebrew. Now vim won't launch, all kinds of things are screwed up, and I can't get rid of this mess.

How do I uninstall this nonsense? I'm on 10.8, so pkgutil --unlink no longer works.

2
  • Very unlikely this is the only cause as this installs into /usr/local which does not affect Apple supplied things (However homebrew does install into /us/local so all you homebrew could be messed up - which is why I would use fink or macports as they are separate)
    – mmmmmm
    Jul 22, 2013 at 14:50
  • It seems to have been the issue. I used pkgutil --files to find the files that the python install placed throughout my system and hunted them down manually. All issues are resolved.
    – wmarbut
    Jul 22, 2013 at 15:06

1 Answer 1

2

if you can use pkgutil on a file you know for sure came from the python 2.7 you installed you can do

pkgutil --file-info /path/to/the/file

Copy/paste the pkgid in

pkgutil --file pkgid

That will spit out a list of files that came with python 2.7 -- you can now go ahead and remove them (with all due care not to remove any unrelated file in the same directories etc).

2
  • This is what I ended up doing and it resolved it.
    – wmarbut
    Jul 22, 2013 at 16:06
  • I noticed that you did solve the issue after I answered! :) Jul 22, 2013 at 21:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .