我sudo
删除了Python3,以便自制ibthon和pygame,但安装过程一直失败,医生发出以下警告:
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
我的Mac OS X上有python3.4和python2.7.2,我编辑了.bash_profile
以使路径指向python3。他们工作正常。最近我被要求自制python2.7.8并安装ipython并使用pygame,事情开始出错了。
有谁能告诉我如何解决这个问题?