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.


    Run error " module 'matplotlib' has no attribute 'cbook' "

    Pythonista
    2
    3
    6407
    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.
    • shiro
      shiro last edited by

      Hello. I am bigginer of pythonista3.

      I would like to run python code bellow,

      ・py code

      import matplotlib.pyplot as plt

      but, run error.

      module 'matplotlib' has no attribute 'cbook'

      How can I do for this problem ?
      Could you let me know.

      My environment is,

      ・pythonista3、stash、icloud Drive

      ・iOs12、iphoneXR

      1 Reply Last reply Reply Quote 0
      • JonB
        JonB last edited by JonB

        try force quitting pythonista, and trying again. matplotlib takes a long time to import, and it you cancel while it is loading, things get screwy. force quit the app, and it should be workng again.

        also, since i see you are using stash, make sure you never tried to install matplotlib on your own.

        1 Reply Last reply Reply Quote 0
        • shiro
          shiro last edited by

          Dear JonB

          Thank you for kindness.

          I remove python code, and import new.

          I successed for running.

          Thanks a lot.

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