I went to install a manage palette called: node-red-contrib-dht-sensor and it gave me this error, it seems to be Python but I already have Python installed, how do I solve this?
Event log
-----------------------------------------------------------
2021-08-16T10:49:36.148Z Install : node-red-contrib-dht-sensor 1.0.4
2021-08-16T10:49:36.490Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-dht-sensor@1.0.4
2021-08-16T10:49:42.963Z [out]
2021-08-16T10:49:42.963Z [out] > node-dht-sensor@0.4.3 install C:\Users\User\.node-red\node_modules\node-dht-sensor
2021-08-16T10:49:42.963Z [out] > node-gyp configure
2021-08-16T10:49:42.963Z [out]
2021-08-16T10:49:42.995Z [out]
2021-08-16T10:49:42.995Z [out] C:\Users\User\.node-red\node_modules\node-dht-sensor>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure ) else (
2021-08-16T10:49:42.995Z [out] node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" configure )
2021-08-16T10:49:44.302Z [err] gyp
2021-08-16T10:49:44.302Z [err] ERR! find Python
2021-08-16T10:49:44.302Z [err]
2021-08-16T10:49:44.302Z [err] gyp
2021-08-16T10:49:44.302Z [err] ERR! find Python Python is not set from command line or npm configuration
2021-08-16T10:49:44.302Z [err] gyp
2021-08-16T10:49:44.302Z [err] ERR! find Python Python is not set from environment variable PYTHON
2021-08-16T10:49:44.302Z [err] gyp ERR!
2021-08-16T10:49:44.303Z [err] find Python checking if "python" can be used
2021-08-16T10:49:44.303Z [err] gyp ERR!
2021-08-16T10:49:44.303Z [err] find Python - "python" is not in PATH or produced an error
2021-08-16T10:49:44.303Z [err] gyp ERR!
2021-08-16T10:49:44.303Z [err] find Python checking if "python2" can be used
2021-08-16T10:49:44.303Z [err] gyp ERR!
2021-08-16T10:49:44.303Z [err] find Python - "python2" is not in PATH or produced an error
2021-08-16T10:49:44.303Z [err] gyp ERR!
2021-08-16T10:49:44.303Z [err] find Python checking if "python3" can be used
2021-08-16T10:49:44.303Z [err] gyp ERR! find Python
2021-08-16T10:49:44.303Z [err] - "python3" is not in PATH or produced an error
2021-08-16T10:49:44.303Z [err] gyp ERR! find Python checking if the py launcher can be used to find Python 2
2021-08-16T10:49:44.303Z [err] gyp ERR! find Python - "py.exe" is not in PATH or produced an error
2021-08-16T10:49:44.303Z [err] gyp
2021-08-16T10:49:44.303Z [err] ERR! find Python checking if Python is C:\Python27\python.exe
2021-08-16T10:49:44.303Z [err] gyp ERR!
2021-08-16T10:49:44.303Z [err] find Python - "C:\Python27\python.exe" could not be run
2021-08-16T10:49:44.303Z [err] gyp ERR!
2021-08-16T10:49:44.304Z [err] find Python checking if Python is C:\Python37\python.exe
2021-08-16T10:49:44.304Z [err] gyp ERR!
2021-08-16T10:49:44.304Z [err] find Python - "C:\Python37\python.exe" could not be run
2021-08-16T10:49:44.304Z [err] gyp ERR! find Python
2021-08-16T10:49:44.304Z [err]
2021-08-16T10:49:44.304Z [err] gyp ERR! find Python
2021-08-16T10:49:44.304Z [err] **********************************************************
2021-08-16T10:49:44.304Z [err] gyp ERR! find Python
2021-08-16T10:49:44.304Z [err] You need to install the latest version of Python.
2021-08-16T10:49:44.304Z [err] gyp ERR! find Python
2021-08-16T10:49:44.304Z [err] Node-gyp should be able to find and use Python. If not,
2021-08-16T10:49:44.304Z [err] gyp ERR! find Python you can try one of the following options:
2021-08-16T10:49:44.304Z [err] gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
2021-08-16T10:49:44.304Z [err] gyp
2021-08-16T10:49:44.304Z [err] ERR! find Python (accepted by both node-gyp and npm)
2021-08-16T10:49:44.304Z [err] gyp
2021-08-16T10:49:44.304Z [err] ERR! find Python - Set the environment variable PYTHON
2021-08-16T10:49:44.304Z [err] gyp
2021-08-16T10:49:44.304Z [err] ERR! find Python - Set the npm configuration variable python:
2021-08-16T10:49:44.304Z [err] gyp ERR!
2021-08-16T10:49:44.304Z [err] find Python npm config set python "C:\Path\To\python.exe"
2021-08-16T10:49:44.304Z [err] gyp ERR!
2021-08-16T10:49:44.305Z [err] find Python For more information consult the documentation at:
2021-08-16T10:49:44.305Z [err] gyp ERR!
2021-08-16T10:49:44.305Z [err] find Python https://github.com/nodejs/node-gyp#installation
2021-08-16T10:49:44.305Z [err] gyp ERR!
2021-08-16T10:49:44.305Z [err] find Python **********************************************************
2021-08-16T10:49:44.305Z [err] gyp ERR!
2021-08-16T10:49:44.305Z [err] find Python
2021-08-16T10:49:44.305Z [err] gyp
2021-08-16T10:49:44.306Z [err] ERR! configure error
2021-08-16T10:49:44.306Z [err] gyp
2021-08-16T10:49:44.306Z [err] ERR! stack Error: Could not find any Python installation to use
2021-08-16T10:49:44.306Z [err] gyp
2021-08-16T10:49:44.306Z [err] ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47)
2021-08-16T10:49:44.306Z [err] gyp
2021-08-16T10:49:44.306Z [err] ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)
2021-08-16T10:49:44.306Z [err] gyp ERR!
2021-08-16T10:49:44.306Z [err] stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16)
2021-08-16T10:49:44.306Z [err] gyp ERR!
2021-08-16T10:49:44.306Z [err] stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16)
2021-08-16T10:49:44.306Z [err] gyp ERR!
2021-08-16T10:49:44.306Z [err] stack at exithandler (child_process.js:397:5)
2021-08-16T10:49:44.306Z [err] gyp ERR! stack
2021-08-16T10:49:44.306Z [err] at ChildProcess.errorhandler (child_process.js:409:5)
2021-08-16T10:49:44.306Z [err] gyp ERR!
2021-08-16T10:49:44.306Z [err] stack at ChildProcess.emit (events.js:400:28)
2021-08-16T10:49:44.306Z [err] gyp ERR! stack
2021-08-16T10:49:44.307Z [err] at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
2021-08-16T10:49:44.307Z [err] gyp ERR! stack
2021-08-16T10:49:44.307Z [err] at onErrorNT (internal/child_process.js:467:16)
2021-08-16T10:49:44.307Z [err] gyp ERR! stack
2021-08-16T10:49:44.307Z [err] at processTicksAndRejections (internal/process/task_queues.js:82:21)
2021-08-16T10:49:44.307Z [err] gyp
2021-08-16T10:49:44.307Z [err] ERR! System Windows_NT 10.0.19043
2021-08-16T10:49:44.307Z [err] gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure"
2021-08-16T10:49:44.307Z [err] gyp ERR!
2021-08-16T10:49:44.307Z [err] cwd C:\Users\User\.node-red\node_modules\node-dht-sensor
2021-08-16T10:49:44.307Z [err] gyp ERR!
2021-08-16T10:49:44.307Z [err] node -v v14.17.5
2021-08-16T10:49:44.307Z [err] gyp ERR!
2021-08-16T10:49:44.307Z [err] node-gyp -v v5.1.0
2021-08-16T10:49:44.307Z [err] gyp ERR!
2021-08-16T10:49:44.308Z [err] not ok
2021-08-16T10:49:44.486Z [err] npm
2021-08-16T10:49:44.486Z [err] ERR! code ELIFECYCLE
2021-08-16T10:49:44.486Z [err] npm ERR!
2021-08-16T10:49:44.486Z [err] errno 1
2021-08-16T10:49:44.497Z [err] npm ERR!
2021-08-16T10:49:44.497Z [err] node-dht-sensor@0.4.3 install: `node-gyp configure`
2021-08-16T10:49:44.497Z [err] npm ERR! Exit status 1
2021-08-16T10:49:44.497Z [err] npm ERR!
2021-08-16T10:49:44.497Z [err] npm
2021-08-16T10:49:44.497Z [err] ERR! Failed at the node-dht-sensor@0.4.3 install script.
2021-08-16T10:49:44.497Z [err] npm ERR!
2021-08-16T10:49:44.497Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2021-08-16T10:49:44.505Z [err]
2021-08-16T10:49:44.505Z [err] npm ERR! A complete log of this run can be found in:
2021-08-16T10:49:44.505Z [err] npm ERR! C:\Users\User\AppData\Roaming\npm-cache\_logs\2021-08-16T10_49_44_507Z-debug.log
2021-08-16T10:49:44.531Z rc=1
Thank you for your attention!