Writing

cocos new Game -l cpp -p com.nikitpad.Game -d C: \ cocos2dxprojects

Mistake:

'utf8' codec can't decode byte 0xcf in position 25: invalid continuation byte

Only my Python 2.7 is registered in the PATH, even though there are 3.5. I even tried to import the codecs module to the beginning of the cocos.py file.

Screenshot - http://imgur.com/a/4Sv8O

  • 2
    Try to place it out of the way, in which there is Cyrillic. For some reason, python doesn't like it a lot - FeroxTL
  • Thanks, helped! - nikitpad

0