Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Boost and Python 3.x

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

like image 842
BenjaminB Avatar asked Apr 04 '11 13:04

BenjaminB


People also ask

Does boost Python work with Python3?

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 ; to your user-config. jam file.

Does Python use boost?

Boost C++ LibrariesThe Boost Python Library is a framework for interfacing Python and C++. It allows you to quickly and seamlessly expose C++ classes functions and objects to Python, and vice-versa, using no special tools -- just your C++ compiler.

What is booster in Python?

Booster is the model of xgboost, that contains low level routines for training, prediction and evaluation. Parameters. params (dict) – Parameters for boosters.


1 Answers

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.

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 ; 

to your user-config.jam file.

like image 174
hkaiser Avatar answered Oct 17 '22 03:10

hkaiser