Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17116

Trouble making new project

$
0
0

@trispade wrote:

Hello everyone I am having a problem creating a basic HelloWorld project using cocos. The ./cpp-tests runs successfully. I believe the problem is that I have 2 python versions installed 3.5.1 and 2.7. I have no idea how to force one over the other on Ubuntu and I have been searching for a few hours now. Anyways this is the output I get when ever I try to make a new project. Any help would be great Thank You in advance.

cocos new HelloWorld -p com.clemson.edu -l cpp -d ~/HelloWorld
Traceback (most recent call last):
File "/home/scn/Desktop/cocos2d-x-3.10/tools/cocos2d-console/bin/cocos.py", line 904, in
if not checkpython_version():
File "/home/scn/Desktop/cocos2d-x-3.10/tools/cocos2d-console/bin/cocos.py", line 868, in checkpython_version
print(MultiLanguage.get_string('COCOS_PYTHON_VERSION_TIP_FMT') % (major_ver, minor_ver))
File "/home/scn/Desktop/cocos2d-x-3.10/tools/cocos2d-console/bin/MultiLanguage.py", line 52, in get_string
fmt = cls.get_instance().get_current_string(key)
File "/home/scn/Desktop/cocos2d-x-3.10/tools/cocos2d-console/bin/MultiLanguage.py", line 46, in get_instance
cls.instance = MultiLanguage()
File "/home/scn/Desktop/cocos2d-x-3.10/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'

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>