13

I see this after typing in "brew doctor"

Warning: Some installed kegs have no formulae! This means they were either deleted or installed with brew diy. You should find replacements for the following formulae:
python@2

What does this mean and how do I fix it?

Kristina Bressler
  • 1,642
  • 1
  • 25
  • 60

1 Answers1

14

It's just a warning, as most "brew doctor" messages are. Python 2 is dead. You can remove it with brew uninstall python@2.

Tim Roberts
  • 48,973
  • 4
  • 21
  • 30
  • Thanks! this fixed it. I tried to google `brew uninstall python@2` but couldn't find the answer I was looking for. If you have a moment, can you look at https://stackoverflow.com/questions/66973441/how-to-clean-up-brew-doctor-unbrewed-header-files-were-found-in-usr-local-incl please? – Kristina Bressler Apr 06 '21 at 20:01