FS#17574 - [opencv] Python bindings

Attached to Project: Arch Linux
Opened by Evangelos Foutras (foutrelis) - Tuesday, 22 December 2009, 00:04 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 22 December 2009, 12:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

According to the OpenCV wiki [1], I should be able to use OpenCV from Python by running `import cv'. However, when I attempt to do that, I get "ImportError: No module named cv". From what I can see, opencv 2.0.0-1 installs the Python bindings under "/usr/lib/python2.6/site-packages/opencv" (and are probably the old bindings described on [2]). The opencv2 AUR package [3] I had been using until now installed a single file, /usr/lib/python2.6/site-packages/cv.so, and worked fine.

Additional info:
* package version(s): opencv 2.0.0-1, python 2.6.4-1

----
[1] http://opencv.willowgarage.com/wiki/PythonInterface
[2] http://opencv.willowgarage.com/wiki/SwigPythonInterface
[3] http://aur.archlinux.org/packages/opencv2/opencv2/PKGBUILD
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 22 December 2009, 12:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  opencv 2.0.0-2
Comment by Andrea Scarpino (BaSh) - Tuesday, 22 December 2009, 12:09 GMT
I used the configure method to build this package and this is wrong.
I am updating the package built using cmake; this add more depends too.
Thanks to report it.

Loading...