Python 3.10 on Debian Unstable break qet_tb_generator :
AttributeError: module 'enum' has no attribute '_simple_enum'
qet_tb_generator
Traceback (most recent call last):
File "/usr/bin/qet_tb_generator", line 33, in <module>
sys.exit(load_entry_point('qet-tb-generator==1.3.1', 'console_scripts', 'qet_tb_generator')())
File "/usr/bin/qet_tb_generator", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/src/main.py", line 98, in <module>
import src.PySimpleGUI as sg
File "/usr/lib/python3/dist-packages/src/PySimpleGUI.py", line 95, in <module>
import tkinter as tk
File "/usr/lib/python3.10/tkinter/__init__.py", line 147, in <module>
@enum._simple_enum(enum.StrEnum)
AttributeError: module 'enum' has no attribute '_simple_enum'
Workaround is to remove my package and use standalone python qet_tb_generator package on your ~/.qet directory
https://download.qelectrotech.org/qet/b … .3.0_linux
off course rename it to qet_tb_generator.
"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."