up vote 0 down vote favorite
share [g+] share [fb]

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.

link|improve this question
feedback

1 Answer

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).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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