When I was trying to fix a problem with
brew uninstall gcc
I got the error
No such keg: /usr/local/Cellar/gcc
But actually I have gcc installed as
which gcc
/usr/bin/gcc
It seems like brew is pointing somewhere empty. i.e.I also have python installed under /usr/bin/ but brew info python showed Not installed.
How can I fix this to link all these tools to brew? Thanks