Always remember to check Homebre
Today tried install many mandatory Tools with Homebrew, but meet error when installing Python 3.7 after google and trying many method, suddenly found the root cause if Homebrew version too low...
we can update Homebrew by simply input
brew update
You need to be super careful about "brew update" and "brew upgrade" otherwise you might put yourself in trouble again
After it is done I got the following message
==> Deleting /Library/Caches/Homebrew...
Warning: Failed to delete /Library/Caches/Homebrew.
Please do so manually.
If you also care about such thing like me, you can find the path add follow the step and delete other junk files under that path at the same time
After updating Homebrew , You can input an aggressive comment
brew upgrade; brew cleanup
But currently for me only install Python 3 is needed so
brew install python3
But during the first attempt I got a download failed error and installation stoped
When I copy the file directory to browser and find it can download successfully I'm sure it is a network error so I gave it a second try, This time it continued from the failed point from 1st time and works smoothly (finally)
It takes quit a long time but feels really good as it doesn't need manually do anything during the whole process until it is done
That is the spirit of Automation Tester😝
so today's summary
brew update # 更新 Homebrew 的信息
brew outdated # 看一下哪些软件可以升级
brew upgrade # 如果不是所有的都要升级,那就这样升级指定的
brew upgrade; brew cleanup # 如果都要升级,直接升级完然后清理干净
And will Start the Study of Python from today on