Not recognizing Python v3.9.5 #251
Description
windows-build-tool does not seem to be properly recognizing my Python v3.9.5 installation as it re-downloads Python v.2.7.15 (python-2.7.15.amd64). Furthermore, according to recent commits, I was under the assumption windows-build-tools now uses Python 3 instead of Python 2, so why is it still downloading Python 2? I have tried this many times even on a prior version of Windows 10. I also tried without installing Python and it still defaulted to 2.7.15 and downloaded it. I've cleared cache and verified. Remove all traces of Python and VS Build Tools. No luck.
According to https://github.com/felixrieseberg/windows-build-tools/blob/master/src/utils/get-is-python-installed.ts I'd reckon any Python 3 version is supported. Not really sure why this is happening.
OS: Windows 10 Pro - Version 20H2 Build 19042.964
Node: v16.1.0
windows-build-tools: v5.2.2 (latest according to npm)
Command: npm install -g windows-build-tools