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/enumin the M5Burner directory and try it again. -
GREAT! it worked thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login