felixrieseberg / windows-build-tools

:package: Install C++ Build Tools for Windows using npm
MIT License
3.4k stars 237 forks source link

Not recognizing Python v3.9.5 #251

Open Infinitay opened 3 years ago

Infinitay commented 3 years ago

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

DeeDeeG commented 3 years ago

There has not been a release of windows-build-tools with those commits yet.

(Apparently, there are no core maintainers here with access to publish releases, or those that have access also have low bandwidth or availability to work on this project. So it is almost/practically unmaintained, in a way.)