@platycore I came here to find a solution myself, same error running on my Linux setup.
After Googling it, all the responses where "pip uninstall -y enum34", but that was not the case.
I found something interesting here: https://stackoverflow.com/questions/47878060/why-is-the-re-module-trying-to-import-enum-intflag
I looked at the app location M5Burner_Linux/packages/tools/enum and that was it... the app has the wrong version of enum.
That worked for me.