来自自制d的警告

2024-05-16 05:00:17 发布

您现在位置:Python中文网/ 问答频道 /正文

为了自制ipython和pygame,我删除了Python3,但是安装过程一直失败,医生给出了以下警告:

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

我在macosx上安装了python3.4和python2.7.2,并编辑了.bash_profile,使路径指向python3。他们工作得很好。最近我被要求自制python2.7.8并安装ipython并使用pygame,结果事情开始出了问题。在

谁能告诉我怎么修这个吗?在


Tags: installedtheconfigyourbinipythonlibraryscripts