[Scons-users] unable to install scons-3.1.2 locally from src on centos 7.9 with python3.6

Mats Wichmann mats at wichmann.us
Tue Aug 3 10:14:48 EDT 2021


On 8/3/21 6:45 AM, daggs wrote:
> Greetings,
> 
> I need to run scons 3.1.2 on centos 7.9 using the latest python the os has to offer (python 3.6.x) but the system's scons is bind to python 2.7.x so I', trying to install it manually.
> I've downloaded the src, unpacked it, entered scons-3.1.2/src and ran the following command: python3 setup.py install --prefix=/home/daggs/newscons as the manual stats.
> 
> but the installation fails with the following error: file '/home/daggs/src/scons/scons-3.1.2/src/script/scons' does not exist
> under /home/daggs/src/scons/scons-3.1.2/src/script/scons there is no scons file but there is scons.po
> 
> full log at https://dpaste.org/2w9B
> 
> what am I missing?
> 

You're missing that CentOS has a package for what you need...

yum install python36-scons

(call it as scons-3, not scons)



More information about the Scons-users mailing list