Traslate not work docker 7.0.5

Hi,
i add traslate for italian language.
i see the help at url https://download.seafile.com/published/seafile-manual/develop/translation.md#user-content-Translate%20and%20try%20locally
i modify djangojs.po execute msgfmt -o djangojs.mo djangojs.po
but commmand
./seahub.sh python-env python3 seahub/manage.py compilejsi18n -l it
give me error

root@590fe258a110:/opt/seafile/seafile-server-latest# ./seahub.sh python-env python3 seahub/manage.py compilejsi18n -l it

Failed to import the site module
Traceback (most recent call last):
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/site.py”, line 74, in
__boot()
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/site.py”, line 26, in __boot
import imp # Avoid import loop in Python >= 3.3
File “/usr/lib/python3.6/imp.py”, line 27, in
import tokenize
File “/usr/lib/python3.6/tokenize.py”, line 33, in
import re
File “/usr/lib/python3.6/re.py”, line 142, in
class RegexFlag(enum.IntFlag):
AttributeError: module ‘enum’ has no attribute ‘IntFlag’
Done.

thanks