Issues creating a project

I’m having an issue that whenever I run the command to create a project, it throws an error that I don’t quite understand. I have completely removed Python 3 from my computer, including the system path and now only have Python 2.7 installed.

C:\Dev\cocos2d-x-4.0\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:\Dev\cocos2d-x-4.0\tools\cocos2d-console\bin\cocos.py”, line 1053, in
DataStatistic.show_stat_agreement(skip_agree_value)
File “C:\Dev\cocos2d-x-4.0\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

Any help would me much appreciated.

https://docs.cocos2d-x.org/cocos2d-x/v4/en/editors_and_tools/cocosCLTool.html

this will help you please once go through in it.