I’m trying to install the latest version of python with Homebrew following these instructions, but typing in
brew doctor is bringing up a lot of warnings. I think it’s because I had it installed briefly a while ago and uninstalled it almost immediately. I’ve been trying to fix this for a few days, and I thought I would give in and finally ask someone, I would love any help since I’m totally lost with this! Is it ok to go ahead and delete all the files that they are suggesting in almost all the warnings? Is it pointing to a bigger problem during installation?
I use jupyter and many anaconda packages so I’m wary of deleted many of the config files as suggested in some of the answers I’ve found.
And what would be the best way to deal with the config files that are mentioned in the first warning? Is there a place I need to relocate them to?
These are the warnings:
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: /Users/username/anaconda3/bin/icu-config /Users/username/anaconda3/bin/freetype-config /Users/username/anaconda3/bin/xslt-config /Users/username/anaconda3/bin/libpng16-config /Users/username/anaconda3/bin/python3.6m-config /Users/username/anaconda3/bin/libpng-config /Users/username/anaconda3/bin/xml2-config /Users/username/anaconda3/bin/python3-config /Users/username/anaconda3/bin/curl-config /Users/username/anaconda3/bin/ncursesw6-config /Users/username/anaconda3/bin/pcre-config /Users/username/anaconda3/bin/python3.6-config /Library/username/Python.framework/Versions/3.6/bin/python3.6m-config /Library/username/Python.framework/Versions/3.6/bin/python3-config /Library/username/Python.framework/Versions/3.6/bin/python3.6-config /Library/username/Python.framework/Versions/3.4/bin/python3.4m-config /Library/username/Python.framework/Versions/3.4/bin/python3-config /Library/username/Python.framework/Versions/3.4/bin/python3.4-config 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/liblua.5.1.5.dylib /usr/local/lib/libtcl8.6.dylib /usr/local/lib/libtk8.6.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/fakemysql.h /usr/local/include/fakepq.h /usr/local/include/fakesql.h /usr/local/include/itcl.h /usr/local/include/itcl2TclOO.h /usr/local/include/itclDecls.h /usr/local/include/itclInt.h /usr/local/include/itclIntDecls.h /usr/local/include/itclMigrate2TclCore.h /usr/local/include/itclTclIntStubsFcn.h /usr/local/include/mysqlStubs.h /usr/local/include/odbcStubs.h /usr/local/include/pqStubs.h /usr/local/include/tcl.h /usr/local/include/tclDecls.h /usr/local/include/tclOO.h /usr/local/include/tclOODecls.h /usr/local/include/tclPlatDecls.h /usr/local/include/tclThread.h /usr/local/include/tclTomMath.h /usr/local/include/tclTomMathDecls.h /usr/local/include/tdbc.h /usr/local/include/tdbcDecls.h /usr/local/include/tdbcInt.h /usr/local/include/tk.h /usr/local/include/tkDecls.h /usr/local/include/tkPlatDecls.h Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected .pc files: /usr/local/lib/pkgconfig/tcl.pc /usr/local/lib/pkgconfig/tk.pc 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/libtclstub8.6.a /usr/local/lib/libtkstub8.6.a
Would love any help since I have very little knowledge about this!