node-pty-prebuilt
node-pty-prebuilt copied to clipboard
platformio-ide-terminal installation failed - node-pty-prebuilt 0.7.6
Environment details
- OS: Windows
- OS version: 10
- node-pty version: 0.7.6
Issue description
When trying to get package platform-ide-terminal on Atom facing the following problem:
[email protected] install C:\Users\augus\AppData\Local\Temp\apm-install-dir-119624-7144-1c6olho.bvfhl\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt prebuild-install || node scripts/install.js
C:\Users\augus\AppData\Local\Temp\apm-install-dir-119624-7144-1c6olho.bvfhl\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt>if not defined npm_config_node_gyp (node "C:\Users\augus\AppData\Local\atom\app-1.39.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild --build_v8_with_gn=false ) else (node "C:\Users\augus\AppData\Local\atom\app-1.39.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild --build_v8_with_gn=false )
prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=electron arch=x64 libc= platform=win32)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\Users\augus\Anaconda3\python.EXE", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\augus\AppData\Local\atom\app-1.39.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:492:19)
gyp ERR! stack at PythonFinder.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\augus.atom.apm_logs\2019-07-24T12_26_42_300Z-debug.log
use https://github.com/bus-stop/terminus
use https://github.com/bus-stop/terminus
You saved my day, thank you!