New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distutils._msvccompiler cannot find VS 2017 #74574
Comments
Visual Studio 2017 (including VC 14.1) cannot be discovered by the old registry key method. There is a new method that requires instantiating a COM class and querying for all installs, then selecting one. My pyfindvs library (https://github.com/zooba/pyfindvs) can find a VS 2017 installation, and I propose porting the core C function into Python so that distutils._msvccompiler can use it. This would be internal and not for public use (except via the normal build_ext API). |
I'm pretty sure that the commit 05f01d8 introduced this memory leak: test_distutils leaked [8736, 8740, 8740] references, sum=26216 |
Python 3.6 is also impacted: |
I fixed the ref leak during the sprints but forgot to tag this issue in the PR. |
The fix: commit af8d6b9
|
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: