Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I heard that OpenCV supports only 32 bit Python.

But my OS is Ubuntu 12.04 64 bit and it has Python 2.7 64 bit.

How can I install latest OpenCV-Python bindings on this system for 32 bit Python?


share|improve this question

You heard wrong.

Installing python-opencv on 12.04 64-bit works just fine. See apt-get log for details.

share|improve this answer
Does it work as same as 32-bit ? – Abid Rahman K Jul 6 '12 at 8:39
Yes, it does afaik. – izx Jul 6 '12 at 8:41
but how to get opencv 2.4.2 ? it is still opencv 2.3 in ubuntu repo. – Abid Rahman K Jul 6 '12 at 8:43
also, in cv2.line() function, it says, lineType is not a valid argument. But it works fine in 32 bit Python. – Abid Rahman K Jul 6 '12 at 8:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.