How to execute scons in a python3 environment?

后端 未结 4 995
天命终不由人
天命终不由人 2021-01-11 16:58

I need to import python3 scripts within a scons script. (I use scons v3.0.1.7)

Is there a way to execute scons with python 3 ?

The offical scons site says

4条回答
  •  长发绾君心
    2021-01-11 17:37

    Assuming you have python 3 virtualenv installed:

    virtualenv-3.6 venv3
    venv3/bin/pip install -U setuptools wheel pip
    venv3/bin/pip install scons
    venv3/bin/scons
    

    That allows your install to be unaffected by homebrew's updates..

提交回复
热议问题