Comment by Nasser Torabzade on How to use a different version of python during NPM install? Leave a reply @rafee yes, PYTHON=python2.7 worked like a charm! :)