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,, 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.