如何解决由于 Anaconda 和 Homebrew 造成的潜在冲突?

2023-12-15

我在 OSX 中安装了 Anaconda 和 Homebrew。 Homebrew 提供以下诊断。

解决 Anaconda 和 Homebrew 之间潜在冲突的最佳方法是什么?应该如何管理他们才不会给彼此带来问题?

$ brew doctor
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 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:
  /Users/hhh/anaconda3/bin/curl-config
  /Users/hhh/anaconda3/bin/freetype-config
  /Users/hhh/anaconda3/bin/gsl-config
  /Users/hhh/anaconda3/bin/icu-config
  /Users/hhh/anaconda3/bin/krb5-config
  /Users/hhh/anaconda3/bin/libpng-config
  /Users/hhh/anaconda3/bin/libpng16-config
  /Users/hhh/anaconda3/bin/llvm-config
  /Users/hhh/anaconda3/bin/ncursesw6-config
  /Users/hhh/anaconda3/bin/pcre-config
  /Users/hhh/anaconda3/bin/python3-config
  /Users/hhh/anaconda3/bin/python3.6-config
  /Users/hhh/anaconda3/bin/python3.6m-config
  /Users/hhh/anaconda3/bin/xml2-config
  /Users/hhh/anaconda3/bin/xslt-config

Warning: Putting non-prefixed findutils in your path can cause python builds to fail.

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libgcc_ext.10.4.dylib
  /usr/local/lib/libgcc_ext.10.5.dylib
  /usr/local/lib/libgcc_s_x86_64.1.dylib
  /usr/local/lib/libgfortran.3.dylib
  /usr/local/lib/libgomp.1.dylib
  /usr/local/lib/libnnz11.dylib
  /usr/local/lib/libociei.dylib
  /usr/local/lib/libocijdbc11.dylib
  /usr/local/lib/libquadmath.0.dylib
  /usr/local/lib/libwkhtmltox.0.12.4.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/wkhtmltox/image.h
  /usr/local/include/wkhtmltox/pdf.h

Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
  /usr/local/lib/libgfortran.la
  /usr/local/lib/libgomp.la
  /usr/local/lib/libintl.la
  /usr/local/lib/libquadmath.la
  /usr/local/lib/psqlodbcw.la

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libgfortran.a
  /usr/local/lib/libgomp.a
  /usr/local/lib/libquadmath.a

None

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何解决由于 Anaconda 和 Homebrew 造成的潜在冲突? 的相关文章

随机推荐