MAC uses homebrew to install wget error [How to Solve]

 Error: No such file or directory @ rb_sysopen – /Users/xufei10/Library/Caches/Homebrew/downloads/5c01708f22f400d42e13be7cedd5aa71dac96b26bdd963edaad32260088b5508–libunistring-0.9.10.arm64_big_sur.bottle.tar.gz

Solution: Install libunistring firstly
brew install libunistring
then re-install wget
brew install wget

Read More: