Installing Boost 1.57 for Python

Download

Go to the following boost page for Python:

http://www.boost.org/doc/libs/1_57_0/libs/python/doc/

or simply go straight to the download page if you don’t want to read the library details

http://www.boost.org/doc/libs/1_57_0/libs/python/doc/building.html

The download will re-direct you to SourceForge.net and you should begin to download Boost 1.57 zip. It is about 100 Mb.

Unpack the Zip File

Once you have finished downloading it unpack the zip to your Boost folder (mine is C:\Program Files (x86)\Boost\). You will need administrator access to that folder.

Bootstrap the Boost.Build System For Use

Then open command prompt and change directory to C:\Program Files (x86)\Boost\Boost_1_57_0\. Type in “bootstrap” and watch the engine get built. Note, I had to give permissions to my Windows account before the bootstrap command would work as it was giving me an “Access Denied” error. But simply opening up the folder and granting Full Control to my account fixed that.

When it finishes bootstrapping you should get a message that says:

Invoke Boost Build to Compile the Boost Library

Bootstrapping is done. To build, run: “.\b2”. Do that now. For me, this took several minutes.

When it finishes, it will say that the C++ libraries were successfully built and you should get a directory to add to linker library paths. Mine was C:\Program Files (x86)\boost\boost_1_57_0\stage\lib.