`brew doctor` is a debugging command line interface for Homebrew, a package manager for macOS.
Questions tagged [brew-doctor]
20 questions
111
votes
6 answers
Brew doctor - "warning: unbrewed header files were found in /usr/local/include"?
When I run brew doctor, the following error is thrown
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be…

tdc
- 5,174
- 12
- 53
- 102
73
votes
6 answers
Homebrew brew doctor warning about /Library/Frameworks/Python.framework, even with brew's Python installed
When I ran Homebrew's brew doctor (Mac OS X 10.9.2), I get the following warning message:
Warning: Python is installed at /Library/Frameworks/Python.framework
Homebrew only supports building against the System-provided Python or
a brewed Python.…

ecbrodie
- 11,246
- 21
- 71
- 120
54
votes
1 answer
What is the safest way to removing Python framework files that are located in different place than Brew installs
I want to remove a Python installed in location that brew complains about, when I run brew doctor
Warning: Python is installed at /Library/Frameworks/Python.framework
What is the best way?
Here are more details / research:
The message from the…

cathy.sasaki
- 3,995
- 6
- 28
- 39
13
votes
1 answer
What does this mean? Some installed kegs have no formulae
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…

Kristina Bressler
- 1,642
- 1
- 25
- 60
10
votes
1 answer
brew doctor - How to fix these warnings and what do they mean
When I run brew doctor on my Mac, I get the following warnings:
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be…

Jatin Ganhotra
- 6,825
- 6
- 48
- 71
3
votes
1 answer
How to clean up brew doctor: Unbrewed header files were found in /usr/local/include?
Running "brew doctor".
Warning: Unbrewed header files were found in /usr/local/include. If
you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
…

Kristina Bressler
- 1,642
- 1
- 25
- 60
2
votes
1 answer
Unbrewed header files found in /usr/local/include
I got the following after running 'brew doctor' and have no idea how to delete them. How do I delete them? I tried to install python 3 after and then got an error saying that some kegs didn't link so I followed the command to overwrite it and now Im…

foxgoddess
- 21
- 1
- 2
2
votes
1 answer
How to fix missing dependencies for python - Homebrew
I recently installed Python3.7 from Python.org. Previously I had an installation via brew which I uninstalled because I just could not get some packages to work. Now, python3.7 is working but when I run brew doctor I get a warning message saying I…

az_aza
- 61
- 1
- 5
2
votes
1 answer
"sudo xcodebuild -license" fails to cure recurring xcode license prompt
I am attempting to install Homebrew on my new Mac (OS X 10.9.5; XCode ver 6.1), and I keep getting the following error message when I run "brew doctor":
"Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo."…

Malcriado415
- 109
- 1
- 7
2
votes
0 answers
Unable to link node to brewdoctor
I have been trying to link node to brewdoctor and it says it is not symlinked properly due to node/ares.h
I ran it in terminal and got this:
brew install node
==> Downloading…

Ashley Tam
- 51
- 8
1
vote
0 answers
how can I fix this error when trying to install fpc with homebrew
im trying to install fpc via homebrew
brew install fpc
but I got an error
Warning: fpc 3.2.2_1 is already installed, it's just not linked. To link this version, run: brew link fpc
and when I use that command I got another error
`Error: Could not…

Paula Poli raymond
- 11
- 1
1
vote
1 answer
Received error after entering 'brew doctor'
I'm new to programming and this question may seem pretty easy...so please bear with me.
After I entered 'brew doctor' in the terminal, instead of prompting something like 'Your system is ready to brew', I got the following:
Please note that these…

frankfu88
- 15
- 7
1
vote
0 answers
brew doctor Warning: Unbrewed dylibs were found in /usr/local/lib
I'm sort of new to programming and in the path of setting the environment ready under Mac OS X Yosemite I ran into some issues under the brew doctor command.
It says
Please note that these warnings are just used to help the Homebrew
maintainers with…

Ricardo Mendes
- 325
- 3
- 13
1
vote
1 answer
Homebrew doctor crashes
I just upgraded & updated my homebrew and now if I run brew doctor, I get the following errors and it fails to run. May I deleted the unexpected header files or is there a better solution?
Warning: Your XQuartz (2.7.6) is outdated
Please install…

Shah-G
- 652
- 1
- 8
- 22
0
votes
0 answers
How can I fix 'brew cleanup' in Mac Big Sur?
I was trying to upgrade my Python in Mac's Big Sur OS. Due to the problem with 'brew' I was failing to upgrade my python. The problem was as follows-
I was trying to 'brew cleanup', it was giving me the following error:
(base)…