msaf
msaf copied to clipboard
No module named _backend_gdk
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?
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!