紫菜蛋花汤0
2016-05-20 18:26
请问老师这是怎么回事?
cocos2d-x-4.0不会生成.sln项目,还是得用cocos2d-3.5 http://pan.baidu.com/s/1o8RQKtG 密码: cyz7
我装的是cocos2d-x-4.0 https://www.cocos.com/cocos2dx和Python 3.8.3,执行命令后出现,比如"raw_input"未定义,编码不识别,然后我卸载了,重新装了Python 2.7.18 https://www.python.org/downloads/release/python-2718/ 然后就好了
就这个问题好多人遇到了 老师不回答一下吗
把python这个先装在和cocos2d一个磁盘下就可以了
请问这是怎么回事?如何修改?
去掉.py,在这之前要先运行setup.py
Traceback (most recent call last):
File "F:\cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\/cocos.py", line 904, in <module>
if not _check_python_version():
File "F:\cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\/cocos.py", line 868, in _check_python_version
print(MultiLanguage.get_string('COCOS_PYTHON_VERSION_TIP_FMT') % (major_ver, minor_ver))
File "F:\cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\MultiLanguage.py", line 52, in get_string
fmt = cls.get_instance().get_current_string(key)
File "F:\cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\MultiLanguage.py", line 46, in get_instance
cls.instance = MultiLanguage()
File "F:\cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\MultiLanguage.py", line 97, in __init__
self.cfg_info = json.load(f, encoding='utf-8')
File "C:\Python34\lib\json\__init__.py", line 265, in load
return loads(fp.read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0x9a in position 29172: illegal multibyte sequence
然乎是这
cd 选着项目路径 再输入cocos new -l lua ProjectName
Cocos2d-x游戏开发之贪吃蛇(上)
32438 学习 · 122 问题
相似问题