Good that it works now. We issue a warning during installation of the homebrew package: warning: anaconda found in PATH. You might want to exclude those directories from you PATH.
Unfortunately, there is little we can do about anaconda’s choices that mess with the include paths.