I’m getting the following error after trying the cocos command in windows 10 command prompt, can someone help me resolve this, I checked out " Cocos2dx Setup.py" and went to advanced settings to change the PATH$ variable to C:\Users\paulz\Desktop\cocos2d-x\tools\cocos2d-console\bin but it doesn’t work:
C:\Users\paulz\Desktop\cocos2d-x\tools\cocos2d-console\bin>cocos
C:\Users\paulz\Desktop\cocos2d-x\tools\cocos2d-console\bin\cocos.py:463: SyntaxWarning: “is not” with a literal. Did you mean “!=”?
if cls.get_cocos2d_mode() is not “distro”:
Traceback (most recent call last):
File “C:\Users\paulz\Desktop\cocos2d-x\tools\cocos2d-console\bin\cocos.py”, line 1053, in
DataStatistic.show_stat_agreement(skip_agree_value)
File “C:\Users\paulz\Desktop\cocos2d-x\tools\cocos2d-console\bin\cocos.py”, line 346, in show_stat_agreement
input_value = raw_input(MultiLanguage.get_string(‘COCOS_AGREEMENT’))
NameError: name ‘raw_input’ is not defined