Page MenuHomeSolus

Scons tries to use python2.7 which it no longer suports.
Closed, ResolvedPublic


when invoking scons it tries to use python2.7 instead of python3.
The scons version shipped in current solus repos, no longer supports python 2.7.

To make scons work, I'm using this alias as a workaround:
alias scons="/usr/bin/env python3 $(which scons)"

Event Timeline

ni-code created this task.Apr 2 2020, 5:28 PM
Jacalz added a subscriber: Jacalz.Apr 4 2020, 7:42 AM
This comment was removed by Jacalz.

Unlike what you claim, scons still supports python 2.
The problem lies somewhere else.

Yes, I was wrong, scons 3.1.1 that solus ships is supposed to support python 2.7.

I discovered the culprit was the project I was building, and not scons. I'm sorry about the fuss.

I thought It was scons because I was getting this message:

scons: Reading SConscript files ...
Python 3.5 or greater required, but you have Python 2.7.17

DataDrake closed this task as Resolved.Apr 4 2020, 5:43 PM
DataDrake claimed this task.
DataDrake edited projects, added Software; removed Lacks Project.