0

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?

bfontaine
  • 18,169
  • 13
  • 73
  • 107
  • It sounds like you have a _third_ Python 2.7, besides the one Apple gave you and the one you installed with Homebrew. Maybe installed from a python.org installer? If so, unless you actually need that third 2.7, the easiest thing to do is get rid of it. – abarnert Jul 21 '14 at 20:49
  • Also, why were you required to Homebrew python2.7.8? You can install boht ipython and pygame perfectly fine with the Apple-supplied 2.7.2 or 2.7.5; unless you actually need one of the bug fixes from a later 2.7 version, it's a lot simpler to just have one of each pythonX.Y. – abarnert Jul 21 '14 at 20:50

0 Answers0