M5Burner on linux mint doesn't work
-
Hello,
after i start to burn the UIFlow to my M5Stick Plus i obtain this errors:=====================================
Start Burn
--chip esp32 --port /dev/ttyUSB0 --baud 750000 --before default_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x3ff000 /home/l0cutus/Scaricati/M5Burner/packages/fw/other/wifi.bin 0x1000 /home/l0cutus/Scaricati/M5Burner/packages/fw/stickc/UIFlow-v1.6.4-plus.bin
Traceback (most recent call last):
File "/home/l0cutus/Scaricati/M5Burner/packages/tools/esptool.py", line 21, in <module>
import argparse
File "/usr/lib/python3.8/argparse.py", line 88, in <module>
import re as _re
File "/usr/lib/python3.8/re.py", line 145, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.8/re.py", line 145, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'Original exception was:
Traceback (most recent call last):
File "/home/l0cutus/Scaricati/M5Burner/packages/tools/esptool.py", line 21, in <module>
import argparse
File "/usr/lib/python3.8/argparse.py", line 88, in <module>
import re as _re
File "/usr/lib/python3.8/re.py", line 145, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'Burn Failed
==========================================================================
Any idea ?
Thanks ! -
Remove the
packages/tools/enum
in the M5Burner directory and try it again. -
GREAT! it worked thanks!