Ask Your Question
0

How do I install opencv on python?

asked 2017-04-21 16:00:32 -0600

I am terribly sorry to bother you with this but I am at a loss. When I download the newest python 3.6.1 and opencv 3.2. When install everything I attempt to import cv2, it give me an error as if it cannot be found. I really appreciate your time.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-04-24 09:07:27 -0600

Well on my Linux system I

  • Download latest OpenCV code
  • Install all python3-dev, python3-scipy and python3-numpy packages
  • Build sources with CMAKE, making sure it finds Python3
  • Do a make and sudo make install

Now whenever I want to access OpenCV through Python I fire up python3, then run import cv2 and that just works out of the blue.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-04-21 16:00:32 -0600

Seen: 128 times

Last updated: Apr 21 '17