Home > other >  Cocos console can't create a new project, unable to create a new project, errors are as follows
Cocos console can't create a new project, unable to create a new project, errors are as follows

Time:09-18

Traceback (the most recent call last) :
The File "C: \ Users \ \ Desktop \ cocos2d - x - 3.17 \ tools \ cocos2d - the console \ bin \/cocos py", line 1072, in & lt; module>
Run_plugin (command, argv, plugins)
The File "C: \ Users \ \ Desktop \ cocos2d - x - 3.17 \ tools \ cocos2d - the console \ bin \/cocos py", line 961, in run_plugin
Plugin. The run (argv, dependencies_objects)
The File "C: \ Users \ \ Desktop \ cocos2d - x - 3.17 \ tools \ cocos2d - the console \ plugins \ plugin_new \ project_new py", line 266, in the run
Self. Parse_args (argv)
The File "C: \ Users \ \ Desktop \ cocos2d - x - 3.17 \ tools \ cocos2d - the console \ plugins \ plugin_new \ project_new py", line 166, in parse_args
The self. The init (args)
The File "C: \ Users \ \ Desktop \ cocos2d - x - 3.17 \ tools \ cocos2d - the console \ plugins \ plugin_new \ project_new py", 48, the line in the init
OS. Path. Abspath (OS) path) join (args. The directory, the self. _projname)), "utf-8")
UnicodeDecodeError: 'utf8' codec can 't decode byte 0 xc8 position in 9: invalid continuation byte

CodePudding user response:

Create to generate the file path with a '3', Chinese path would be encoded inconsistent problem, change after the file path should be no problem
  • Related