Today I have compiled boost and graph-tool source with python3.6 using commands as below
[root@scentos boost_1_73_0]# ./bootstrap.sh --with-python=python3 --with-