sudo python3 /usr/bin/wokd --environment=dev
Traceback (most recent call last):
File "/usr/bin/wokd", line 28, in <module>
from optparse import OptionParser
File "/usr/lib/python3.6/optparse.py", line 77, in <module>
import textwrap
File "/usr/lib/python3.6/textwrap.py", line 8, in <module>
import re
File "/usr/lib/python3.6/re.py", line 142, 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 53, 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.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
Original exception was:
Traceback (most recent call last):
File "/usr/bin/wokd", line 28, in <module>
from optparse import OptionParser
File "/usr/lib/python3.6/optparse.py", line 77, in <module>
import textwrap
File "/usr/lib/python3.6/textwrap.py", line 8, in <module>
import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'