I sudo
removed Python3 in order to Homebrew ipython and pygame, but the installation process kept failing and doctor gave out the following warnings:
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
Warning: Python is installed at /Library/Frameworks/Python.framework
I had python3.4 and python2.7.2 on my Mac OS X and I edited the .bash_profile
to have the path points to python3. They were working okay. Recently I was required to Homebrew python2.7.8 and install ipython and use pygame, and things started to go wrong.
Could anyone please tell me how to fix this?