[Scons-users] scons multiple python

Dirk Bächle tshortik at gmx.de
Mon Jun 3 18:24:34 EDT 2013


Hi Sean,

On 03.06.2013 23:11, Sean wrote:

> Hello everyone!

>

> My first post, sorry if I misregarded any rule, but would be great to

> get an answer.

>

> I have two pythons in my linux box, 2.7 and 3.3

>

> while installing ascend (www.ascend4.org) using "scons install" i

> would need to tell scons to choose python 2.7 and not 3.3

> perhaps the answer is somewhere, in the internet, but i dont find it.

>


try to search for the location of your "scons" script with "which
scons". This should give you a path like

/usr/local/bin/scons

, at the top of this script you can change

#!/usr/bin/env python

to

#!/usr/bin/env python2

. This should do the trick.

Best regards,

Dirk




More information about the Scons-users mailing list