First time here? Check out the FAQ!
1

Wing 7.2.2.13 errors when running project with Python 3.11

  • retag add tags

I recently upgraded from Python 3.9 to Python 3.11 and my project quit starting in Wing and gives me the following traceback. Any ideas on what to do to get this working? Thanks!

Traceback (most recent call last):
  File "C:\Program Files (x86)\Wing Pro 7.2\bootstrap\wingdb.py", line 135, in <module>
    from debug.tserver import startdebug
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 674, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
  File "C:\Users\<user>\AppData\Roaming\Wing Pro 7/updates/7.2.2.13/bin/ide-2.7/src/wingbase\mergeimporter.py", line 341, in load_module
    mod = self._LoadWingCode(full_name, full_path, is_pkg)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\<user>\AppData\Roaming\Wing Pro 7/updates/7.2.2.13/bin/ide-2.7/src/wingbase\mergeimporter.py", line 497, in _LoadWingCode
    return self._ExecMod(mod_name, compile_filename, co, is_pkg)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\<user>\AppData\Roaming\Wing Pro 7/updates/7.2.2.13/bin/ide-2.7/src/wingbase\mergeimporter.py", line 531, in _ExecMod
    exec(co, mod.__dict__)
  File "C:\Program Files (x86)\Wing Pro 7.2\bin\dbg\src\debug\tserver\startdebug.py", line 16, in <module>
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 674, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
  File "C:\Users\<user>\AppData\Roaming\Wing Pro 7/updates/7.2.2.13/bin/ide-2.7/src/wingbase\mergeimporter.py", line 341, in load_module
    mod = self._LoadWingCode(full_name, full_path, is_pkg)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\<user>\AppData\Roaming\Wing Pro 7/updates/7.2.2.13/bin/ide-2.7/src/wingbase\mergeimporter.py", line 497, in _LoadWingCode
    return self._ExecMod(mod_name, compile_filename, co, is_pkg)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\<user>\AppData\Roaming\Wing Pro 7/updates/7.2.2.13/bin/ide-2.7/src/wingbase\mergeimporter.py", line 531, in _ExecMod
    exec(co, mod.__dict__)
  File "C:\Users\<user>\AppData\Roaming\Wing Pro 7\updates\7.2.2.13\bin\dbg\src\debug\tserver\abstract.py", line 19, in <module>
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 674, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
  File "C:\Users\<user>\AppData\Roaming\Wing Pro 7/updates/7.2.2.13/bin/ide-2.7/src/wingbase\mergeimporter.py", line 341, in load_module
    mod = self._LoadWingCode(full_name, full_path, is_pkg)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\<user>\AppData\Roaming\Wing Pro 7/updates/7.2.2.13/bin/ide-2.7/src/wingbase\mergeimporter.py", line 497, in _LoadWingCode
    return self._ExecMod(mod_name, compile_filename, co, is_pkg)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\<user>\AppData\Roaming\Wing Pro 7/updates/7.2.2.13/bin/ide-2.7/src/wingbase\mergeimporter.py", line 531, in _ExecMod
    exec(co, mod.__dict__)
  File "C:\Program Files (x86)\Wing Pro 7.2\bin\dbg\src\debug\tserver\findmodules.py", line 342, in <module>
  File "C ...
(more)
sgw136's avatar
11
sgw136
asked 2023-03-22 14:03:19 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

You need Wing 9 for Python 3.11. In general, Wing versions released before a given Python version will not work with that newer version of Python.

Wingware Support's avatar
4.2k
Wingware Support
answered 2023-03-22 21:56:25 -0600
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