Windows Python Version and VC++ Redistributable Version
17,270
Solution 1
Python 2.5 links against msvcr71 just like 2.4. Versions 2.6 and 2.7 link against msvcr90 which is the VS2008 runtime. In fact versions 3.0, 3.1 and 3.2 also link against msvcr90.
The msvcr90 redistributable is here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=29
Solution 2
- Windows Python Version
- DLL Name
- VC++ Redistributable
- Link to installer
- 2.4, 2.5 [32 bit]
- msvcr71.dll, msvcp72.dll
- Microsoft Visual C++ 2003 (7.1), included with .net 1.1
- http://msdn.microsoft.com/en-us/netframework/aa569264
- 2.6, 2.7, 3.0, 3.1, 3.2 [32 bit]
- msvcr90.dll, msvcp90.dll
- Microsoft Visual C++ 2008 Redistributable Package (x86)
- http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=29
- 2.5 [64 bit]
- msvcrt.dll, msvcp60.dll
- Included with Windows
- n/a
- 2.6, 2.7, 3.0, 3.1, 3.2 [64 bit]
- msvcr90.dll, msvcp90.dll
- Microsoft Visual C++ 2008 Redistributable Package (x64)
- http://www.microsoft.com/download/en/details.aspx?id=15336
Solution 3
If you're building packages (not sure about building Python itself), this new compiler may do the trick:
Microsoft Visual C++ Compiler for Python 2.7
http://www.microsoft.com/en-gb/download/details.aspx?id=44266
Comments
-
Michael Allan Jackson almost 2 years
Can someone help fill out this table, or link to a reference, that identifies which version of VC++ Redistributable each Python version is built against on Windows.
- Windows Python Version
- DLL Name
- VC++ Redistributable
- Link to installer
- 2.4
- msvcr71.dll
- Microsoft Visual C++ 2003 (7.1), included with .net 1.1
- link
- 2.5
- ?
- ?
- ?
- 2.6
- ?
- ?
- ?
- 2.7
- ?
- ?
- ?
-
Piotr Dobrogost over 12 yearsmsvcr71.dll, msvcp72.dll Different versions?
-
Michael Allan Jackson over 12 years"If you are looking for a file that ends with a "P" such as msvcp71.dll, this indicates that your file was compiled against a C++ runtime (as opposed to a C runtime), " I am curious if one or other is correct, but you find people making reference to both.
-
metamatt about 12 yearsThe C++ runtime is additive; it's not a question of one or the other. msvcrXX.dll is the dynamically-linked version of the C runtime library. msvcpXX.dll is the dynamically-linked version of the C++ runtime library. A normal C application (that wasn't statically linked with the C runtime library) will need msvcrXX.dll (XX depending on the version of the compiler you used). A normal C++ application will need both msvcrXX.dll and msvcpXX.dll.