我读过之前的一些看似相关错误的帖子,尽管我对根据我所看到的here和here进行更改有些担心,主要是因为我害怕破坏一些东西。
我使用conda来管理我Mac上的环境,但有一些包在conda-forge等平台上是不可用的,这就是为什么我不得不使用Homebrew。
即使在brew update之后,运行brew doctor也会给出下面的错误。如果重要的话,我正在运行zsh,下面是我的$PATH的样子。任何帮助都将不胜感激。
echo $PATH |tr : '\n'
/usr/local/anaconda3/bin
/usr/local/anaconda3/condabin
/usr/local/anaconda3/bin
/usr/local/anaconda3/bin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin以下是brew doctor产生的结果:
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:
/usr/local/anaconda3/bin/icu-config
/usr/local/anaconda3/bin/krb5-config
/usr/local/anaconda3/bin/freetype-config
/usr/local/anaconda3/bin/xslt-config
/usr/local/anaconda3/bin/libpng16-config
/usr/local/anaconda3/bin/python3.7-config
/usr/local/anaconda3/bin/libpng-config
/usr/local/anaconda3/bin/xml2-config
/usr/local/anaconda3/bin/python3.7m-config
/usr/local/anaconda3/bin/python3-config
/usr/local/anaconda3/bin/curl-config
/usr/local/anaconda3/bin/ncursesw6-config
/usr/local/anaconda3/bin/pcre-config
/usr/local/anaconda3/bin/nspr-config
/usr/local/anaconda3/bin/ncurses6-config
/usr/local/anaconda3/bin/nss-config发布于 2020-10-25 22:35:44
这些消息是完全正常的。到目前为止,它们还没有给我带来任何问题。我建议你忽略它们。与您的环境中的紧急问题相比,brew doctor更像是一个冗长的日志。
https://stackoverflow.com/questions/64521586
复制相似问题