Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gnome-mousetrap] opencv python module missing.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
eronde
n00b
n00b


Joined: 25 Dec 2004
Posts: 73
Location: The Netherlands

PostPosted: Tue May 31, 2011 11:55 am    Post subject: [gnome-mousetrap] opencv python module missing. Reply with quote

Hi,

I want to install gnome-mousetrap, but it says that the pyhton module of opencv is missing.

Error:
Code:

checking for python2... /usr/bin/python2
checking for python2 version... 2.7
checking for python2 platform... linux2
checking for python2 script directory... ${prefix}/lib64/python2.7/site-packages
checking for python2 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for python module gettext... yes
checking for python module getopt... yes
checking for python module Xlib... yes
checking for python module pyatspi... yes
checking for python module opencv... no
configure: error: Could not find python module opencv

!!! ERROR in app-accessibility/gnome-mousetrap-0.3::gentoo:
!!! In econf at line 1898


eix opencv:
Code:

media-libs/opencv
     Available versions:  2.0.0!t (~)2.1.0!t {debug +deprecated examples ffmpeg gstreamer gtk ieee1394 ipp jpeg jpeg2k mmx octave openmp png python sse sse2 sse3 ssse3 test tiff v4l xine}
     Installed versions:  2.2.0-r10!t(00:50:22 05/31/11)(examples ffmpeg gtk jpeg opengl png python qt4 sse sse2 tiff v4l -cuda -doc -eigen -gstreamer -ieee1394 -ipp -jpeg2k -openexr -sse3 -ssse3 -test -xine)
     Homepage:            http://opencv.willowgarage.com
     Description:         A collection of algorithms and sample code for various computer vision problems.




I've tried to reinstall opencv.

Any ideas?
Back to top
View user's profile Send private message
eronde
n00b
n00b


Joined: 25 Dec 2004
Posts: 73
Location: The Netherlands

PostPosted: Sun Jun 05, 2011 10:35 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
majoron
Apprentice
Apprentice


Joined: 12 Oct 2005
Posts: 209
Location: Frankfurt

PostPosted: Wed Dec 14, 2011 11:39 am    Post subject: similar problem Reply with quote

Hi eronde.
I also cannot find the python bindings to opencv. I wanted to play around a bit with opencv and python, but
Code:
python -c "import opencv"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named opencv

Did you manage to solve the problem?
Does anyone else know the solution?
TIA,

Best
_________________
Computers are like air conditioners, they stop working properly if you open Windows
Back to top
View user's profile Send private message
majoron
Apprentice
Apprentice


Joined: 12 Oct 2005
Posts: 209
Location: Frankfurt

PostPosted: Wed Dec 14, 2011 1:44 pm    Post subject: Re: similar problem Reply with quote

majoron wrote:
Hi eronde.
I also cannot find the python bindings to opencv. I wanted to play around a bit with opencv and python, but
Code:
python -c "import opencv"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named opencv

Did you manage to solve the problem?
Does anyone else know the solution?
TIA,

Best


My bad. They changed the interface. Among other changes the module is named now "cv", no longer "opencv".
I guess gnome-mousetrap needs to be patched?

Best
_________________
Computers are like air conditioners, they stop working properly if you open Windows
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum