Are Anaconda Python configuration scripts configured with Homebrew?

Are Anaconda Python configuration scripts configured with Homebrew? Please note that I do not use these configuration scripts in any of my workflows, I am just wondering if any of these configuration scripts can be called behind the scenes. An example output below (replacing the username with ".."):

$ brew doctor
...
Having additional scripts in your path can confuse software installed via

Homebrew if the config script overrides the system or Homebrew script with the same name. We found the following "config" scripts:

  /Users/../anaconda/bin/curl-config
  /Users/../anaconda/bin/freetype-config
  /Users/../anaconda/bin/libdynd-config
  /Users/../anaconda/bin/libpng-config
  /Users/../anaconda/bin/libpng15-config
  /Users/../anaconda/bin/llvm-config
  /Users/../anaconda/bin/python-config
  /Users/../anaconda/bin/python2-config
  /Users/../anaconda/bin/python2.7-config
  /Users/../anaconda/bin/xml2-config
  /Users/../anaconda/bin/xslt-config

Obviously, some of these collisions with some packages installed in Homebrew.

$ ls /usr/local/bin/*-config
/usr/local/bin/Magick++-config   /usr/local/bin/libpng-config
/usr/local/bin/Magick-config     /usr/local/bin/libpng16-config
/usr/local/bin/MagickCore-config /usr/local/bin/pcre-config
/usr/local/bin/MagickWand-config /usr/local/bin/pkg-config
/usr/local/bin/Wand-config       /usr/local/bin/python-config
/usr/local/bin/freetype-config   /usr/local/bin/python2-config
/usr/local/bin/gdlib-config      /usr/local/bin/python2.7-config
+4
source share
2 answers

, . , . , $PATH. Homebrew , $PATH; Homebrew , Homebrew, Anaconda, , . , , .

- . Anaconda $PATH, , , alias , . (, numpy) Homebrew Anaconda. ( , , . Anaconda , , .)

, $PATH, , , .

+3

. , Python Homebrew, , Python, Homebrew, , Anaconda.

export PATH=$HOME/anaconda/bin:$PATH

.bashrc. Python pip, Homebrew, , pip. , Python, Anaconda (conda create -n my-env), export PATH=$HOME/anaconda/bin:$PATH . , , Anaconda Python , conda create -n my-env anaconda , virtualenv my-env , . , , Anaconda virtualenv.

+2

All Articles