@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.
- Remove the one with the underscores: "_ init _.py"
- Copy the version of enum.py located in your /usr/lib/python3.8 path
That worked for me.