First time here? Check out the FAQ!
1

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

  • retag add tags

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?

ivankovalenko's avatar
11
ivankovalenko
asked 2025-05-26 05:27:07 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

This is fixed in a Wing 10 update. Please use Help > Check for Updates to get it.

Wingware Support's avatar
4.2k
Wingware Support
answered 2025-05-26 09:56:48 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer