新建工程时报错

来源:2-2 Cocos2d-x游戏开发贪吃蛇之开发环境搭建

慕妹7118130

2019-05-19 19:05

Traceback (most recent call last):

  File "cocos.py", line 1056, in <module>

    if not _check_python_version():

  File "cocos.py", line 984, in _check_python_version

    print(MultiLanguage.get_string('COCOS_PYTHON_VERSION_TIP_FMT') % (major_ver, minor_ver))

  File "E:\迅雷下载\cocos2d-x-3.17.1\tools\cocos2d-console\bin\MultiLanguage.py", line 52, in get_string

    fmt = cls.get_instance().get_current_string(key)

  File "E:\迅雷下载\cocos2d-x-3.17.1\tools\cocos2d-console\bin\MultiLanguage.py", line 46, in get_instance

    cls.instance = MultiLanguage()

  File "E:\迅雷下载\cocos2d-x-3.17.1\tools\cocos2d-console\bin\MultiLanguage.py", line 97, in __init__

    self.cfg_info = json.load(f, encoding='utf-8')

  File "C:\Program Files\Python 3.5\lib\json\__init__.py", line 265, in load

    return loads(fp.read(),

UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 30893: illegal multibyte sequence


写回答 关注

2回答

Cocos2d-x游戏开发之贪吃蛇(上)

贪吃蛇都玩过~有没有想过自己实现呢,一起学习来吧

32438 学习 · 122 问题

查看课程

相似问题