Forum Archive

Help with error message

joeface71

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
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
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
from numbers import Number
ImportError: cannot import name 'Number'

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

ccc

Did you create a local file called numbers.py?

joeface71

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

joeface71

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