The BREW installation software cannot be used after the MAC upgrade to 10.13
The solution
Sudo mkdir/usr/local/Cellar
sudo chmod a+w /usr/local/Cellar
Sudo mkdir/usr/local/opt
sudo chmod a+w /usr/local/opt
Then install it again.
MAC use brew to install opencv, look up information when a blog said the need to add the command:
brew tap homebrew/science
always gives an error when trying:
Error: homebrew/science was deprecated. This tap is now empty as all its formulae were migrated.
, meaning homebrew/science has been removed, meaning that the brew tap
step is not required.
solution: remove this step, directly brew install xx
, xx refers to your package.
above.
p>
brew install yarn
if the save Failed to connect to port 443 raw.githubusercontent.com: Connection refused, because no Homebrew p>
normally installs Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
but due to some of the code> you understand factors, lead to a lot of
raw.githubusercontent.com code> DNS has been polluted.
is solved directly using this open source script with one click:
https://gitee.com/cunkai/HomebrewCN
Homebrew domestic automatic installation script
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
is then loaded with yarn
brew install yarn
div>