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

No module named _backend_gdk #65

Open
bgenchel opened this issue Sep 22, 2017 · 1 comment
Open

No module named _backend_gdk #65

bgenchel opened this issue Sep 22, 2017 · 1 comment

Comments

@bgenchel
Copy link

I get this error when trying to import the module, and after some research it looks like it has to do with my matplotlib distribution not being compiled to work with gtk+. So. Why does this library even need gdk support? How does one get this on mac?

@urinieto
Copy link
Owner

urinieto commented Sep 25, 2017

This module provides several functions to plot the results of segmentation algorithms (see the demo notebook). I agree that you shouldn't need to have matplotlib to run this as long as you don't use the visualization tools. Therefore, I will add this as an enhancement for future versions.

Meanwhile, you should be able to run this on a mac without gtk backend. To modify your matplotlib backend, simply update your matplotlibrc, e.g.:

backend : WXAgg # use wxpython with antigrain (agg) rendering

More info about this process here: https://matplotlib.org/faq/usage_faq.html

If this doesn't work, please copy and paste the full error and I will try to further debug the problem.

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants