Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have tried compiling and installing from the 2.0.0 release source, the SVN head, and from a PPA. After each, I still get the following from a Python console:

>>> import cv
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named cv

Starting with the "new" Python interface in 2.0, that import is supposed to work.

share|improve this question

1 Answer 1

I downloaded the python-opencv package in Lucid Lynx and this worked:

from opencv import cv
from opencv import highgui

Then you should be able to check what functions are available by using dir(cv) and dir(highgui).

share|improve this answer

Your Answer

 
discard

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.