First time here? Check out the FAQ!

Revision history  [back]

builtins.AttributeError: 'str' object has no attribute 'co_consts'

Hi, everyone! Having trouble running files in Wing 101 10.0.9.0 (rev ce06f0ac5b83) windows 10 (python 3.11.7) When trying to run any (including empty file) Python Shell window return

Traceback (most recent call last):
  Python Shell, prompt 0, line 228
builtins.AttributeError: 'str' object has no attribute 'co_consts'
[evaluate untitled-1.py]

Any suggestions how to fix it?