Traceback (most recent call last):


 "/usr/lib64/python3.6/runpy.py", line 183, in _run_module_as_main

mod_name, mod_spec, code = _get_module_details(mod_name, _Error)


 "/usr/lib64/python3.6/runpy.py", line 109, in _get_module_details

__import__(pkg_name)


 "/usr/lib64/az/lib/python2.7/site-packages/azure/__init__.py", line 1, in <module>

__import__('pkg_resources').declare_namespace(__name__)


 "/usr/lib64/az/lib/python2.7/site-packages/pkg_resources/__init__.py", line 24, in <module>

import re


 "/usr/lib64/python3.6/re.py", line 142, in <module>

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

Traceback (most recent call last):


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 ".../oppia/scripts/run_presubmit_checks.py", line 33, in <module>

from .linters import pre_commit_linter


 "scripts/linters/pre_commit_linter.py", line 581, in <module>

__builtins__.FILE_CACHE = NAME_SPACE.files
AttributeError: 'dict' object has no attribute 'FILE_CACHE'
