0

While Trying to do the setup node in windows. I needed to install one node package called jdbc to connect with impala. after running npm install jdbc giving the error as Error: Can't find Python executable "C:\Program Files\Python30\", you can set the PYTHON env variable. Environment variable also set. But still it is giving the same error. Could anyone please help me in resolving this error. If not, Is there any node package available to connect to impala. environment-variable

error log upto python.exe

Thilak Raj
  • 880
  • 3
  • 10
  • 25

2 Answers2

0

To be able to run Python from cmd you need the environment variable to point it to the .exe file, and after that reopen cmd window.

enter image description here

-1

Here's possibly a solution:

Try setting python variable with:

npm config set python "c:\Python\27\python.exe"

Adjust the path of course.

(source: https://github.com/nfroidure/ttf2woff2/issues/28#issuecomment-327419138)

Jean-François Fabre
  • 137,073
  • 23
  • 153
  • 219
szogoon
  • 470
  • 3
  • 15