This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Matplotlib import error
guenthi57 last edited by
I'm using Pythonista for some weeks now and everything has been working fine, but some days ago, suddenly I can't import matplotlib any longer.
It shows the error "module matplotlib has no attribute cbook".
Even the preinstalled plotting example files don't work. Of course I googled first, but the only thing I found was "you may have a file called matplotlib.py or similar", which I don't... I also deleted and reinstalled the app, nothing changed
I would be grateful for any help or tips how to resolve this problem.
Thank you in advance!
Screenshot of the Demo file not working
JonB last edited by
This can happen if you abort a script while it is in the middle of importing matplotllib. Try force quitting pythonista, then try again. The other thing that can happen is if you either name a script something that conflicts, say, matplotlib.py, or if you have installed anything into site-packages that does. If you still have this problem after force quitting pythonista, tap the Print Traceback button, to print and then post the full traceback.