Python 64 Bit on Windows Part 2, Building Packages

FacebookTwitterGoogle+RedditLinkedIn

Building packages packages for 64 bit python is straightforward once you figure out the main steps.

First, download and set up the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 as explained here.

You have to execute the SDK’s command shell, which will have a shortcut in Start -> All Programs -> Microsoft Windows SDK v7.0 -> “CMD Shell”

Execute two commands in the shell to setup the environment

set DISTUTILS_USE_SDK=1
setenv /x64 /release

The color should turn green. Then as if it were a normal DOS box, navigate to the folder where you unzipped the package’s file and run the command “setupt.py install”

With any luck, the package will then install without error returning you to the command prompt.

FacebookTwitterGoogle+RedditLinkedIn

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>