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.


    Help with error message

    Pythonista
    bug report
    2
    4
    2819
    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.
    • joeface71
      joeface71 last edited by

      I am receiving the following error when trying to execute some scene example:
      Traceback (most recent call last):
      File "/private/var/mobile/Containers/Shared/AppGroup/346D986C-066E-4FAE-B593-A27F19AA1D7F/Pythonista3/Documents/Example_7.py", line 1, in <module>
      from scene import *
      File "/var/containers/Bundle/Application/189A50E0-EC07-4FA2-B7E6-6D8279AA8F98/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/site-packages/scene.py", line 7, in <module>
      from scene_drawing import *
      File "/var/containers/Bundle/Application/189A50E0-EC07-4FA2-B7E6-6D8279AA8F98/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/site-packages/scene_drawing.py", line 6, in <module>
      from numbers import Number
      ImportError: cannot import name 'Number'

      The issue just started today. Any suggestions on how to correct this? Thanks in advance.

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

        Did you create a local file called numbers.py?

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

          I don't remember creating one but I see one in my library. Should I delete it?

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

            I renamed that file and now everything is working fine. Thank you very much for your help.

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