Hey, my build is failing as it can’t find Python. (https://travis-ci.org/joshuef/safe_browser/jobs/448298529)
[3] gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
[3] gyp ERR! stack at PythonFinder.failNoPython (C:\ProgramData\nvs\node\8.12.0\x64\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
I’ve tried setting it manually, but it didn’t help:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then npm config set python /Python27/python.exe --global;
fi
Any ideas?