When i type cocos in the cmd on windows 10 using cocos v3.17.2
i get this error my python is 2.7.5 and my cocos is 3.17.2 i put the cocos2d console on my path aswell
C:\Users\gupar\OneDrive\Desktop\cpp>cocos new cocostest2 -l cpp
Traceback (most recent call last):
File “D:\ufilesD\cocos2d-x-3.17.2\cocos2d-console-3\bin/cocos.py”, line 1049, in
match = re.match(ver_pattern, COCOS_ENGINE_VERSION)
File “C:\Python27\lib\re.py”, line 141, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer