Ask Your Question
0

Homebrew installation of OpenCV 3.0 not linking to Python 3

asked 2015-09-06 04:09:38 -0500

jackbrucesimspon gravatar image

updated 2015-09-06 04:10:41 -0500

When I install OpenCV 3.0 with Homebrew, it gives me the following directions to link it to Python 2.7:

If you need Python to find bindings for this keg-only formula, run: echo /usr/local/opt/opencv3/lib/python2.7/site-packages /usr/local/lib/python2.7/site-packages/opencv3.pth

While I can find the python2.7 site packages in opencv3, no python34 site packages were generated. Does anyone know how I can link my OpenCV 3.0 install to Python 3?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-10-02 19:05:30 -0500

hekevintran gravatar image

When you installed it, did you tell it to include Python 3 support? i.e.:

brew install opencv3 --with-python3
edit flag offensive delete link more

Comments

Yes, the problem is that home-brew doesn't link the .so file to the Python path.

jackbrucesimspon gravatar imagejackbrucesimspon ( 2015-11-13 06:22:03 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-09-06 04:09:38 -0500

Seen: 729 times

Last updated: Sep 06 '15