构建iOS出现问题 (可能是跟python版本有关的的问题)

我在用Creator 2.4.0,想要构建发布iOS, 但是出现了python版本的问题。我查了一些其他的文章,估计是因为我电脑的default python版本是3.8. 我刚刚安装了2.7版本的python (在terminal要用python2来进入), 可是还是出现同样的问题。请问各位大神,是否有遇到相同的问题,请指教。

File "/Applications/CocosCreator/Creator/2.4.0/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/bin/cocos.py", line 1012, in <module>
    if not _check_python_version():
  File "/Applications/CocosCreator/Creator/2.4.0/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/bin/cocos.py", line 943, in _check_python_version
    print(MultiLanguage.get_string('COCOS_PYTHON_VERSION_TIP_FMT') % (major_ver, minor_ver))
  File "/Applications/CocosCreator/Creator/2.4.0/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/bin/MultiLanguage.py", line 52, in get_string
    fmt = cls.get_instance().get_current_string(key)
  File "/Applications/CocosCreator/Creator/2.4.0/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/bin/MultiLanguage.py", line 46, in get_instance
    cls.instance = MultiLanguage()
  File "/Applications/CocosCreator/Creator/2.4.0/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/bin/MultiLanguage.py", line 100, in __init__
    if self.cfg_info.has_key(cur_lang_key):
AttributeError: 'dict' object has no attribute 'has_key'