Traceback (most recent call last):


 "/home/elibol/anaconda3/envs/ray/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/home/elibol/anaconda3/envs/ray/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/elibol/anaconda3/envs/ray/lib/python3.6/site-packages/cython.py", line 16, in <module>

from Cython.Compiler.Main import main


 "/home/elibol/anaconda3/envs/ray/lib/python3.6/site-packages/Cython/Compiler/Main.py", line 8, in <module>

import re


 "/home/elibol/anaconda3/envs/ray/lib/python3.6/re.py", line 142, in <module>

class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'

Traceback (most recent call last):


 "examples/asr/aishell/local/prepare_data.py", line 29, in <module>

from athena import get_wave_file_length


 "/data/nfs_rt16/chenyu/asr/athena/athena/__init__.py", line 35, in <module>

from .layers.commons import PositionalEncoding


 "/data/nfs_rt16/chenyu/asr/athena/athena/layers/commons.py", line 22, in <module>

import tensorflow_addons as tfa


 "/data/nfs_rt16/chenyu/asr/venv_athena/lib/python3.7/site-packages/tensorflow_addons/__init__.py", line 21, in <module>

from tensorflow_addons import activations


 "/data/nfs_rt16/chenyu/asr/venv_athena/lib/python3.7/site-packages/tensorflow_addons/activations/__init__.py", line 17, in <module>

from tensorflow_addons.activations.gelu import gelu


 "/data/nfs_rt16/aa/asr/venv_athena/lib/python3.7/site-packages/tensorflow_addons/activations/gelu.py", line 27, in <module>

@tf.keras.utils.register_keras_serializable(package="Addons")
AttributeError: module 'tensorflow_core.keras.utils' has no attribute 'register_keras_serializable'
