Boost和Python 3.x [英] Boost and Python 3.x

查看:164
本文介绍了Boost和Python 3.x的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

boost.python如何处理Python 3?只是Python 2吗?

How boost.python deal with Python 3 ? Is it Python 2 only ?

谢谢。

推荐答案

Boost的版本应该与Python V3.x正常工作。

Newer versions of Boost should work fine with Python V3.x. This support has been added quite some time ago, I believe after a successful Google Summer of Code project back in 2009.

使用Boost的Python V3的方法是正确地使用Python V3。配置构建系统通过添加例如:

The way to use Python V3 with Boost is to properly configure the build system by adding for instance:

using python : 3.1 : /your_python31_root ;

到您的user-config.jam文件。

to your user-config.jam file.

这篇关于Boost和Python 3.x的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆