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. In particular, Pythons installed to /Library can
interfere with other software installs.
Therefore, I ran brew install
and followed the steps provided in the installation's caveats output to install Homebrew's version of Python. Running which python
confirms that Homebrew's version of it is indeed at the top of my PATH. Output is /usr/local/bin/python
.
Despite all this, when I rerun brew doctor
, I am still getting the same warning message. How do I suppress this warning? Do I need to delete the /Library/Frameworks/Python.framework directory from my computer? Am I just supposed to ignore it? Is there a different application on my computer that may be causing this warning to emit?
Note that I don't have any applications in particular that are running into errors due to this warning from brew doctor
. Also note that this warning message didn't always print out when I ran brew doctor
, it was something that started to appear recently. Also, I am using Python 2.7 on my computer, trying to stay away from Python 3.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…