c++ - Boost 和 Python 3.x

标签 c++ python boost python-3.x boost-python

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

最佳答案

较新版本的 Boost 应该可以在 Python V3.x 上正常工作。这种支持是在很久以前添加的,我相信在 2009 年成功的 Google Summer of Code 项目之后。

将 Python V3 与 Boost 一起使用的方法是通过添加实例来正确配置构建系统:

using python : 3.1 : /your_python31_root ;

到您的 user-config.jam 文件。

关于c++ - Boost 和 Python 3.x,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5539557/

相关文章:

c++ - 将 'this' 地址保存到变量中

python - 如何评估Tensorflow计算图中的非变量节点?

Python斐波那契数列

c++ - 如何定位 "boost::noncopyable"错误?

c++ - 在 Linux 上 boost windows_shared_memory

c++ - 确保 std::string 正确对齐

c++ - 如何获得第n位值

c++ - 使用 AuthenticatedEncryptionFilter 时没有错误

python - scrapy请求不像在浏览器中那样工作

c++ - CMake 找不到 boost 。