create_project.py报错问题,建议用回python2.7
2014-02-18 17:44
232 查看
d:\DevTool\cocos2d-x-2.2.2\cocos2d-x-2.2.2\tools\project-creator\create_project.py 报错
原因,装的是python 3.3.4。
3.0之前python语法是:print 'hello'
3.0开始是:print('hello')
d:\DevTool\cocos2d-x-2.2.2\cocos2d-x-2.2.2\tools\project-creator>python create_p roject.py -project HelloWorld -package org.HelloWorld.game File "create_project.py", line 27 print "Usage: create_project.py -project PROJECT_NAME -package PACKAGE_NAME -language PROGRAMING_LANGUAGE" ^ SyntaxError: invalid syntax
原因,装的是python 3.3.4。
3.0之前python语法是:print 'hello'
3.0开始是:print('hello')
相关文章推荐
- python 2.7 所有中文问题,及字体问题
- Python 2.7 解决写入文件的中文乱码问题
- MacOS+python2.7搭建tensorflow环境报错问题解决
- Linux下python2.7出现No module named _struct问题
- 【转载】Python Version 2.7 required which was not found in the registry 问题解决
- python2.7中文编码报错问题
- (转)Python Version 2.7 required which was not found in the registry 问题解决
- 小白学习Python遇到的一些2.7与3.X之间的不同问题
- python2.7 中使用pip遇到的几个问题
- Windows中Python 2.7和Python 3.5兼容性问题及对应pip使用方法
- python2.7的config parser与django的启动参数argv冲突问题
- windows10在python2.7的anaconda下安装py3.5.2并安装tensorflow遇到的问题
- Linux下python2.7出现No module named _struct问题
- 安装Python第三方模块遇到Python version 2.7 required, which was not foundin the registry的问题
- error: could not create '/usr/local/lib/python2.7/dist-packages/jieba': Permission denied
- python2.7的编码问题与解决方法
- python2.7的编码问题与解决方法
- python2.7版本在win7、64位系统安装遇到的问题
- python2.7:dic2json 解决中文无法正常显示问题
- 《机器学习》第四章朴素贝叶斯分类器问题总结(python2.7->3.5)