I am trying to install OpenCV with Homebrew.
sudo brew install opencv
I get this error message
Cowardly refusing to sudo brew install
How can I solve this?
You do not need
As OpenCV now exists in
Homebrew never needs elevated privileges for anything – except for when there are some conflicts with other installed libraries:
If you can't install it without
The install script of opencv wants to link the libraries into
after you ran
I have run into this same issue. A quick fix is to manually create the /usr/local/Cellar folder, then try again without sudo.