我是编程新手,这个问题可能看起来很easy...so,请耐心听我说。
当我在终端中输入'brew医生‘,而不是提示’您的系统已准备好酿造‘,我得到了以下信息:
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
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 which 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/3.8/bin/python3-config
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8-config
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m-config
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3-config
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6-config
根据我粗浅的理解,我是应该删除其中一个python版本,还是应该保留两个版本并输入另一个命令来解决这个问题?提前感谢!
发布于 2020-03-16 20:56:46
Homebrew告诉你这5个文件:
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3-config
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8-config
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m-config
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3-config
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6-config
不是由Homebrew安装的,可能会让他感到困惑。如果您不使用安装在Homebrew之外的Python版本,您可以删除这些文件,brew doctor
命令将再次显示:
Your system is ready to brew.
https://stackoverflow.com/questions/60691090
复制相似问题