react-image-annotate
react-image-annotate copied to clipboard
Can't find Python executable
I'm run "npm install react-image-annotate" and i found this error.
npm ERR! code 1
npm ERR! path C:\React\imageAnotation\label\node_modules\canvas
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "C:\Users\User\AppData\Local\Programs\Python\Python310\python.EXE", you can set the PYTHON env variable.
npm ERR! gyp ERR! stack at PythonFinder.failNoPython (C:\React\imageAnotation\label\node_modules\node-gyp\lib\configure.js:484:19)
npm ERR! gyp ERR! stack at PythonFinder.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\User\AppData\Local\npm-cache_logs\2023-05-22T06_50_47_848Z-debug-0.log
Am also running into this issue. Looks like a duplicate though: https://github.com/UniversalDataTool/react-image-annotate/issues/183