Had a similar issue with 3.8/3.9, you can try building the boost python library yourself (bootstrap then b2 at the root directory of boost) and linking to it instead of linking to the provided ...