[Pkg-scicomp-devel] Bug#563717: Bug#563717: [python-opencv] Missing cv module
Gijs Molenaar
gijs at pythonic.nl
Tue Feb 16 07:59:41 UTC 2010
Hello,
That is the old python interface.
On Feb 16, 2010, at 6:18 AM, Nobuhiro Iwamatsu wrote:
> Hi,
>
> 2010/1/5 Federico Ceratto <federico.ceratto at gmail.com>:
>> Package: python-opencv
>> Version: 2.0.0-2
>> Severity: important
>>
>> --- Please enter the report below this line. ---
>>
>> Hello,
>>
>> Starting with version 2.0 OpenCV provides a new Python interface that should
>> be imported by running "import cv" [see
>> http://opencv.willowgarage.com/wiki/PythonInterface ]
>>
>> Such module seems to be missing from the 2.0.0-2 package. The only files
>> named cv.py in my /usr directory seems to be the usual sub-modules of the
>> "opencv" module:
>>
>> /usr/share/pyshared/opencv/cv.py
>> /usr/lib/pymodules/python2.5/opencv/cv.py
>>
>> Is it missing or has it been packaged with a different name?
>>
> may be "from opencv import cv"?
> I confirmed it in the following sources
>
> -----
> #! /usr/bin/env python
>
> import sys
> from opencv import cv
>
> if __name__ == '__main__':
>
> print "OpenCV version:%d.%d.%d" % (
> cv.CV_MAJOR_VERSION,
> cv.CV_MINOR_VERSION,
> cv.CV_SUBMINOR_VERSION)
> -----
>
> Best regards,
> Nobuhiro
> --
> Nobuhiro Iwamatsu
> iwamatsu at {nigauri.org / debian.org}
> GPG ID: 40AD1FA6
>
>
>
> --
> To unsubscribe, send mail to 563717-unsubscribe at bugs.debian.org.
--
Gijs Molenaar
http://gijs.pythonic.nl
gijs at pythonic.nl
More information about the Pkg-scicomp-devel
mailing list