<div dir="ltr"><div>Raoul,</div><div><br></div><div>If you want to run modern scons
with python3 (and you're using macports for newer python installs),
probably easiest way to do so is to use a virtualenv.</div><div><br></div><div><a href="https://scons-cookbook.readthedocs.io/en/latest/#setting-up-a-python-virtualenv-for-scons" target="_blank">https://scons-cookbook.readthedocs.io/en/latest/#setting-up-a-python-virtualenv-for-scons</a></div><div><br></div><div>-Bill</div><div>SCons Project Co-Manager</div><div>(my main machine is a mac..with macports.. ;)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 21, 2022 at 5:13 PM Bill Deegan <<a href="mailto:bill@baddogconsulting.com">bill@baddogconsulting.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Raoul,</div><div><br></div><div>If you want to run modern scons with python3 (and you're using macports for newer python installs), probably easiest way to do so is to use a virtualenv.</div><div><br></div><div><a href="https://scons-cookbook.readthedocs.io/en/latest/#setting-up-a-python-virtualenv-for-scons" target="_blank">https://scons-cookbook.readthedocs.io/en/latest/#setting-up-a-python-virtualenv-for-scons</a></div><div><br></div><div>-Bill</div><div>SCons Project Co-Manager</div><div>(my main machine is a mac..with macports.. ;)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 21, 2022 at 10:15 AM rmgls <<a href="mailto:rmgls@orange.fr" target="_blank">rmgls@orange.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Ryan,<br>
<br>
thanks for clarification<br>
<br>
Bests<br>
Raoul<br>
<br>
<br>
> On 21 Feb 2022, at 17:11, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>> wrote:<br>
> <br>
> On Feb 19, 2022, at 01:24, rmgls wrote:<br>
> <br>
>> how to bypass the 2.7 python in /system/Library and direct by default to a macport version or even a user path.<br>
>> details:<br>
>> port install scons 3.1.X<br>
>> port select --set …..<br>
>> invoking scons calls the system scons 2.7?<br>
> <br>
> The scons port version 3.1.2 uses MacPorts python 2.7 -- at least that is the intention. It is not intended to use the system's python.<br>
> <br>
> You may verify which python it will run by using this command:<br>
> <br>
> <br>
> head -n1 $(which scons)<br>
> <br>
> <br>
> A future version of the scons port will use MacPorts python 3.x. You may Cc yourself on this ticket if you wish to be notified when that happens:<br>
> <br>
> <a href="https://trac.macports.org/ticket/59303" rel="noreferrer" target="_blank">https://trac.macports.org/ticket/59303</a><br>
<br>
</blockquote></div>
</blockquote></div>