dpo / atom-python-debugger

IDE-like Python debugger for Atom
MIT License
42 stars 13 forks source link

configure error #47

Closed tisaconundrum2 closed 6 years ago

tisaconundrum2 commented 6 years ago

I'm getting a configuration error. It's probably a super simple fix, but I need some guidance on how to do so.

I tried setting the env variable, but that didn't seem to help.

$ apm install python-debugger language-python
Installing python-debugger to C:\Users\tisaconundrum\.atom\packages done
The language-python package is bundled with Atom and should not be explicitly installed.
You can run `apm uninstall language-python` to uninstall it and then the version bundled
with Atom will be used.
Installing language-python to C:\Users\tisaconundrum\.atom\packages failed

> tree-sitter-python@0.4.0 install C:\Users\TISACO~1\AppData\Local\Temp\apm-install-dir-118125-26184-1xek4q0.oyeitl0udi\node_modules\language-python\node_modules\tree-sitter-python
> node-gyp rebuild

gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:/Users/tisaconundrum/AppData/Local/atom/app-1.24.0/resources/app/apm/bin/python-interceptor.sh", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython (C:\Users\tisaconundrum\AppData\Local\atom\app-1.24.0\resources\app\apm\node_modules\node-gyp\lib\configure.js:449:14)
gyp ERR! stack     at C:\Users\tisaconundrum\AppData\Local\atom\app-1.24.0\resources\app\apm\node_modules\node-gyp\lib\configure.js:404:11
gyp ERR! stack     at C:\Users\tisaconundrum\AppData\Local\atom\app-1.24.0\resources\app\apm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Users\\tisaconundrum\\AppData\\Local\\atom\\app-1.24.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\tisaconundrum\\AppData\\Local\\atom\\app-1.24.0\\resources\\app\\apm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\TISACO~1\AppData\Local\Temp\apm-install-dir-118125-26184-1xek4q0.oyeitl0udi\node_modules\language-python\node_modules\tree-sitter-python
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\TISACO~1\AppData\Local\Temp\apm-install-dir-118125-26184-1xek4q0.oyeitl0udi\package.json'
npm WARN apm-install-dir-118125-26184-1xek4q0.oyeitl0udi No description
npm WARN apm-install-dir-118125-26184-1xek4q0.oyeitl0udi No repository field.
npm WARN apm-install-dir-118125-26184-1xek4q0.oyeitl0udi No README data
npm WARN apm-install-dir-118125-26184-1xek4q0.oyeitl0udi No license field.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\tisaconundrum\\AppData\\Local\\atom\\app-1.24.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\tisaconundrum\\AppData\\Local\\atom\\app-1.24.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\tisaconundrum\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\tisaconundrum\\.atom\\.apmrc" "install" "C:\\Users\\TISACO~1\\AppData\\Local\\Temp\\d-118125-26184-f7e5lg.yl1vxfajor\\package.tgz" "--runtime=electron" "--target=1.6.16" "--arch=x64" "--global-style" "--msvs_version=2015"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! tree-sitter-python@0.4.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tree-sitter-python@0.4.0 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the tree-sitter-python package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs tree-sitter-python
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls tree-sitter-python
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\TISACO~1\AppData\Local\Temp\apm-install-dir-118125-26184-1xek4q0.oyeitl0udi\npm-debug.log
dpo commented 6 years ago

It seems like the issue is with tree-sitter-python. I don't know that package though. Feel free to reopen if I'm wrong.