node-opencv: Install error

Not installing properly I get: Failed at the opencv@6.0.0 install script. Any help would be appreciated thanks!

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16

Most upvoted comments

Hi @lsharir , I am running macOS 10.12.6. I realized there was a typo above, my opencv version (worked with opencv-node) is 2.4.13. Not too important of an issue but just wanted to clarify. here’s what I used:

brew remove opencv
brew install opencv@2
brew link opencv@2 --force

I don’t remember if I had to use --force (I couldn’t find a log of installation in my bash history). Try without first. You may have to brew tap homebrew/science as well, depending on what you’ve done already. Did you install opencv 3.1.1 correctly already? If not you’ll find help with the whole installation process here https://www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way/ You will still need to follow all the steps - just alter the version.

edit: I had a working installation of opencv 3.1.1 following the steps here https://www.pyimagesearch.com/2016/11/28/macos-install-opencv-3-and-python-2-7/ But for some reason was unable to get it to work with opencv-node. Did you have that same issue?