gyp ERR! stack Error: Could not find any Python installation to use code example
Example: error: can't find python executable "python", you can set the python env variable.
apt-get update
apt-get install python2.7
ln -s /usr/bin/python2.7 /usr/bin/python