[pythran] Re: Installation problem from NT2

  • From: serge guelton <sguelton@xxxxxxxxxxxxx>
  • To: pythran@xxxxxxxxxxxxx
  • Date: Tue, 19 May 2015 21:10:53 +0200

On Tue, May 19, 2015 at 06:05:06PM +0200, MBR MBR wrote:

Dear all,

I am trying to install Pythran on my computer (a GNU/Linux Ubuntu 12.04). I
have Python 2.7.9 from Anaconda 1.8.0.

So far, I tried to install Pythran with pip (after upgrading my Boost
library to 1.48; all the other requirements are met), but it failed with
the following error, when it tries to install NT2:


erreur: ‘BOOST_FORCEINLINE’ does not name a type

and then I have tons of this error.

Hi MBR and thanks for the report,

it seems nt2 requires a more modern version of boost, as stated in


at least 1.50.

You're running an aging version of ubuntu, but the following may work:

sudo add-apt-repository -y ppa:apokluda/boost1.53
sudo apt-get install libboost-python1.53-dev libboost1.53-dev

Also, I wonder what is your compiler version?

** OR **

I have been trying to setup a conda repo for pythran. It's mostly
untested, but you can try it as you're using anaconda

conda install -c https://conda.binstar.org/serge-sans-paille pythran

Other related posts: