首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >问答首页 >输入'brew doctor‘后收到错误

输入'brew doctor‘后收到错误
EN

Stack Overflow用户
提问于 2020-03-15 08:42:56
回答 1查看 722关注 0票数 1

我是编程新手,这个问题可能看起来很easy...so,请耐心听我说。

当我在终端中输入'brew医生‘,而不是提示’您的系统已准备好酿造‘,我得到了以下信息:

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
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版本,还是应该保留两个版本并输入另一个命令来解决这个问题?提前感谢!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-03-16 20:56:46

Homebrew告诉你这5个文件:

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
/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命令将再次显示:

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
Your system is ready to brew.
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60691090

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档
查看详情【社区公告】 技术创作特训营有奖征文