Install OpenCV with Python on Mac ERROR - /usr/bin/python

asked 2017-11-15 07:10:44 -0600

PoeteMaudit gravatar image

updated 2017-11-16 06:52:16 -0600

I am trying to install OpenCV3 with Python3 on Mac by following this link: https://www.learnopencv.com/install-o...

The problem is that 'which python' gives me '/usr/bin/python' and not '/usr/local/bin/python' as it is supposed to.

(On the other hand 'which python3' gives me '/usr/local/bin/python3')

What can I do to install python on '/usr/local/bin/python'?

(Guys, no answers at all!?! How did you install OpenCV+Python on Mac??)

edit retag flag offensive close merge delete

Comments

Try this one. opencv python on mac

supra56 gravatar imagesupra56 ( 2017-11-15 19:56:59 -0600 )edit
supra56 gravatar imagesupra56 ( 2017-11-15 20:06:56 -0600 )edit

try to use cmake-gui, you can specify, which python to use explicitly

berak gravatar imageberak ( 2017-11-16 07:12:36 -0600 )edit