Step 2: Get an amd64-compatible VS 2010

So Python 3.3 and 3.4 require Visual Studio (Express) 2010 to compile extensions.  I already had my machine setup with Visual Studio Express 2008 + the platform SDK to get 32 and 64-bit compilers for Python 2.6 and 2.7, but to release for the 3.x's I needed to get the new compilers.  There is, however, a bug in the Visual Studio service pack that deletes the 64-bit compilers the SDK has installed.  There's a KB article that lets you download those compilers again, but the patch doesn't give you a vcvars64.bat file, instead you need to use a "setenv" command to launch the 64-bit compiler-enabled prompt.  And with all that, I *seem* to have a working Win32 and Win64 build environment for Python 2.6, 2.7, 3.3 and 3.4.

Comments

  1. Roger

    Roger on 02/12/2014 6:47 p.m. #

    I suffered the exact same problem with Windows update causing a working amd64 configuration to stop working.

    Do you have a link to how to fix this (eg the kb article)?

  2. Mike Fletcher

    Mike Fletcher on 02/13/2014 1:23 p.m. #

    The KB article is here: http://support.microsoft.com/kb/2519277

Comments are closed.

Pingbacks

Pingbacks are closed.