Is it possible to build and install boost python 2.7 and python 3 together ?

My current understanding is you build them individually, but not together

regard.
   Avi