This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients Kevin Schlossser, Yurii Leonov, dstufft, eric.araujo, p-ganssle, paul.moore, scoder, steve.dower, tim.golden, xinfazhu, zach.ware
Date 2020-02-27.13:16:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks, it does seem like it's finding the correct MSVC, but is not finding the redistributable DLL:

> cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT ...

The "/MT" means to statically the CRT, and then we use link settings later to dynamically link the part installed in the OS (see for more details).

The problem seems to be that this glob in distutils can't find the path listed below it:



We swallow a lot of errors while doing this glob, so I assume there's something about your install that's affecting it (maybe related to it being BuildTools rather than Community or higher?)

Could you try running this code and see what result/error you get:

import glob
glob.glob(r"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\redist\MSVC\**\x64\Microsoft.VC14*.CRT\vcruntime140.dll", recursive=True)
Date User Action Args
2020-02-27 13:16:35steve.dowersetrecipients: + steve.dower, paul.moore, scoder, tim.golden, eric.araujo, zach.ware, dstufft, p-ganssle, Kevin Schlossser, Yurii Leonov, xinfazhu
2020-02-27 13:16:35steve.dowersetmessageid: <>
2020-02-27 13:16:35steve.dowerlinkissue38597 messages
2020-02-27 13:16:35steve.dowercreate