Below is recommended option and thanks to Sharpie to fix this.
$ brew install boost –without-python
boost with python conflicts with python2.7.1 from pythonbrew. So to use option, “–without-python”.
After install boost completed, run version check script.
$ g++ this-version-check-script.cpp
Boost version: 0.198.fc
c++ – How to determine the Boost version on a system? – Stack Overflow