Skip to content

Sconsolidator failing with scons 4 because it's using python 2.7 instead of 3 #61

@mazina

Description

@mazina

I've been using sconsolidator with for years now without issue for our projects. Recently, we switched over to scons 4, which requires python 3, and sconsolidator is no longer working. It looks like the problem is that sconsolidator or ecliplse is still using python 2.7 to run scons.

Command line: /Users/mazzin/git/Soar/SoarSuite/scons/scons.py --version
scons: *** SCons version 4.0.1 does not run under Python version 2.7.16.
Python >= 3.5 is required.
Duration 101 ms.

I suppose this could be an OSX, Eclipse or a Sconsolidator issue. In eclipse, I have it set to use only python 3 (under pydev settings). On the command line, it also uses python 3 by default. I can't really change any sconsolidator settings because the settings tab for sconsolidator shows an invalid scons path error because it was unable to check the scons versions using python 2.7. Is there anything else I can do to force it to use python 3 under the hood?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions