beakerx: failed to install on Windows
Using gradle install in gradlex gives a error.
I believe that the main problem is: npm unavailable. If you're running this command using sudo, make sure npm is available to sudo
Npm is installed and accessible via npm command from the same console.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 36 (18 by maintainers)
Commits related to this issue
- failed to install on Windows #5075 — committed to twosigma/beakerx by deleted user 7 years ago
- failed to install on Windows #5075 (#5256) — committed to twosigma/beakerx by deleted user 7 years ago
- failed to install on Windows #5075 — committed to twosigma/beakerx by deleted user 7 years ago
- failed to install on Windows #5075 (#5260) — committed to twosigma/beakerx by deleted user 7 years ago
Another solution is to use either
subprocess.check_call(['cmd','/c','npm', '--version'])orsubprocess.check_call(['powershell','-command','npm', '--version'])I don’t know, I am not using Python (I don’t like it very much in fact). Just found the solution in the internet: here for example.
EDIT: I believe there is an explanation down in answers here