omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    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

    Pythonista
    2
    2
    1517
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • guenthi57
      guenthi57 last edited by

      Hey everyone!

      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

      1 Reply Last reply Reply Quote 0
      • JonB
        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB Forums | Contributors