Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Python Version and VC++ Redistributable Version

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.


  1. Windows Python Version
  2. DLL Name
  3. VC++ Redistributable
  4. Link to installer

  1. 2.4
  2. msvcr71.dll
  3. Microsoft Visual C++ 2003 (7.1), included with .net 1.1
  4. link

  1. 2.5
  2. ?
  3. ?
  4. ?

  1. 2.6
  2. ?
  3. ?
  4. ?

  1. 2.7
  2. ?
  3. ?
  4. ?
like image 689
Michael Allan Jackson Avatar asked Jan 28 '12 17:01

Michael Allan Jackson


3 Answers

  1. Windows Python Version
  2. DLL Name
  3. VC++ Redistributable
  4. Link to installer

  1. 2.4, 2.5 [32 bit]
  2. msvcr71.dll, msvcp72.dll
  3. Microsoft Visual C++ 2003 (7.1), included with .net 1.1
  4. http://msdn.microsoft.com/en-us/netframework/aa569264

  1. 2.6, 2.7, 3.0, 3.1, 3.2 [32 bit]
  2. msvcr90.dll, msvcp90.dll
  3. Microsoft Visual C++ 2008 Redistributable Package (x86)
  4. http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=29

  1. 2.5 [64 bit]
  2. msvcrt.dll, msvcp60.dll
  3. Included with Windows
  4. n/a

  1. 2.6, 2.7, 3.0, 3.1, 3.2 [64 bit]
  2. msvcr90.dll, msvcp90.dll
  3. Microsoft Visual C++ 2008 Redistributable Package (x64)
  4. http://www.microsoft.com/download/en/details.aspx?id=15336
like image 69
Michael Allan Jackson Avatar answered Oct 09 '22 11:10

Michael Allan Jackson


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

like image 34
David Heffernan Avatar answered Oct 09 '22 10:10

David Heffernan


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

like image 21
David Hyman Avatar answered Oct 09 '22 10:10

David Hyman