Why is it so hard to install OpenCV for python on Mac?

asked 2018-06-17 16:35:44 -0500

RubeRad gravatar image

I use Ubuntu at home, I was able to get up and running with OpenCV for python3 with one command

sudo apt-get install python3-opencv

Similarly on windows at work, I think it was something like

pip3 install cv2 # or maybe the package name was a little different

Then I tried to help my friend install opencv for python on his Mac so he could run some scripts I wrote, and was baffled by the complexity of the process; the "easy way" seems to require Xcode then Homebrew, the hard way is to compile from source.

Is there pip for mac and a precompiled/preconfigured pip package that can be installed in one step?

edit retag flag offensive close merge delete