Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need GTK support opencv ; problem which imshow() #56

Closed
connect2robiul opened this issue Mar 12, 2017 · 13 comments
Closed

Need GTK support opencv ; problem which imshow() #56

connect2robiul opened this issue Mar 12, 2017 · 13 comments

Comments

@connect2robiul
Copy link

connect2robiul commented Mar 12, 2017

When I try to install, I get this

`UnsatisfiableError: The following specifications were found to be in conflict:

  • opencv -> numpy 1.7* -> python 2.6* -> openssl 1.0.1*
  • python 3.6*
    Use "conda info " to see the dependencies for each package.`

the spcific error is

install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvShowImage

@patricksnape
Copy link
Contributor

Those two errors seems to be unrelated?

@oxydron
Copy link

oxydron commented Mar 28, 2017

Yeah, seems to be 2 problems:

  1. The biggest opencv problem of all times: the "gtk 2.x or carbon error" when trying to use cv2.imshow()
  2. Conflicted packages.

I'm trying to solve the first problem for 2 weeks now...

@patricksnape
Copy link
Contributor

We don't support installing gtk2 from this package (at the moment). But I will take a look whenever I finally get opencv 3.2.0 building

@patricksnape
Copy link
Contributor

@jakirkham do we have any other packages that link against GTK?

@connect2robiul
Copy link
Author

How to fixed this? Any idea @patricksnape

@jakirkham
Copy link
Member

jakirkham commented Apr 6, 2017

do we have any other packages that link against GTK?

Maybe Qt. Even if we were using GTK, I think it would be coming from the system. I don't believe there is a GTK package in defaults (haven't checked though). A quick search in the org seems to suggest most things are not using GTK instead of using it.

@oxydron
Copy link

oxydron commented Apr 11, 2017

@jakirkham Ok, using Qt, could you point some directions? Any conda install command? Any pip or apt-get install? Any tip?

@jakirkham
Copy link
Member

Sorry @oxydron. That was in response to @patricksnape.

@patricksnape
Copy link
Contributor

So if we have no existing GTK packages then this won't get built with GTK until we do

@jakirkham
Copy link
Member

@patricksnape is absolutely correct. AFAIAC there is nothing actionable for us here without a GTK package. So am going to close that out. That said, if the community adds a GTK package, we can reopen and discuss building it here.

@jakirkham
Copy link
Member

Opened issue ( conda-forge/staged-recipes#3914 ) to track adding GTK to conda-forge. Once that is addressed, we can revisit building OpenCV with GTK support.

@salmedina
Copy link

Any update on this problem?

@jakirkham
Copy link
Member

The package got rebuilt with qt support a long time ago. Would recommend opening a new issue with more details if you are running into problems. Thanks.

@conda-forge conda-forge locked as resolved and limited conversation to collaborators Nov 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants