Get ready for cocos2d-x! http://libro.tuyano.com/index3?id=6456003
-bash: setup.py: command not found
** → Environment variable setting required! !! !! ** **
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
In my case this was fine. By the way, the version of python is the 32-bit version of Python 2.7.10. After checking, it seems that Python 2 type 32bit has less failures. Perhaps this is the best place for engineers (or the general public) who have never worked with Python to get caught during installation.
cocos new MyCocosApp -l cpp
Even if it is not reflected, even the ls command is not working.
** → This is an easy solution! !! Please restart your terminal! ** **
Apparently, the cocos command doesn't work unless you restart after setting the environment variables, and even the ls command that normally supports it doesn't work. (For some reason cd was usable)
Anyway, I was able to generate a development kit with this! !! All you have to do now is write C ++ in your Android / iOS project! (^^) /