[MacPorts] #69362: cantera @2.5.1: ModuleNotFoundError: No module named 'SCons'
MacPorts
noreply at macports.org
Thu Apr 11 11:25:40 UTC 2024
#69362: cantera @2.5.1: ModuleNotFoundError: No module named 'SCons'
-------------------------+-------------------------
Reporter: ryandesign | Owner: thomasfiala
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords:
Port: cantera |
-------------------------+-------------------------
Comment (by ryandesign):
Replying to [ticket:69362 ryandesign]:
> You can't run scons by specifying an alternate python version (3.10
here), because scons requires its python modules which were installed for
a specific python version (currently 3.12).
>
> I see that I was the one who
[changeset:636bc5899e50c7b8550e4919739a5a1d49502df0/macports-ports made
this mistake].
To be fair, cantera says you can do this:
https://github.com/Cantera/cantera/blob/3e036b7c84f5ae77bf529a801d9db850b570db73/SConstruct#L69-L71
and I must have tested that it worked before I committed it. I guess it
used to work in an old version of scons (at the time, MacPorts had scons
3.1.2) and doesn't work anymore in the current version (at the time of
filing this ticket, MacPorts had scons 4.6.0).
--
Ticket URL: <https://trac.macports.org/ticket/69362#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list