-
Notifications
You must be signed in to change notification settings - Fork 3
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
on ubuntu 13.10: "cannot import name _tkagg" #3
Comments
"regional tools" use Tk and Tkinter for the GUI, so it's not that easy to switch to the Qt4Agg backend. :-( I agree that the "batch" mode should not even try to import GUI-related modules. This is a bug and I will fix it. |
I was able to get past this. Apparently the key steps were:
I would not have tried this except I found http://stackoverflow.com/questions/13110403/matplotlib-backend-missing-modules-with-underscore |
Thanks, nice solution! |
This command works on one of my ubuntu machines but not the other. It is from
pism/examples/jako
, of course:It may be relevant that I am running python 2.7.5+ and that when I run
ipython -pylab
I get a message that saysThat is, my Matplotlib does work with the Qt4Agg backend, but the gtkagg backend might not work for me.
Actually I would be happy for regional-tools to have a GUI-free mode (i.e. without needed a functioning gui to run). Or maybe that so defeats the purpose ...
The text was updated successfully, but these errors were encountered: