straight-printer-37909
10/26/2021, 9:21 PM10.14.6
, does anyone have idea to fix this? π
ProcessExecutionFailure: Process 'Searching for `python2` on PATH=/Users/xiaotongli/.nvm/versions/node/v10.24.1/bin:/Users/xiaotongli/arc/arcanist/bin:/Users/xiaotongli/Library/Python/2.7/bin:/Users/xiaotongli/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/anaconda3/bin:/opt/anaconda3/condabin:/Users/xiaotongli/.krew/bin:/usr/local/mysql/bin' failed with exit code 1.
stdout:
stderr:
+ command -v which
+ command which -a python2
+ which -a python2
I can run pants 2.7 in our linux machine but cannot run the ./pants pacakge
in my local πwitty-crayon-22786
10/26/2021, 9:30 PM--pex-bootstrap-interpreter-names='["python3"]'
help?straight-printer-37909
10/27/2021, 4:00 AM./pants --pex-bootstrap-interpreter-names='["python3"]' package ::
not sure if that is correct way to use it πwitty-crayon-22786
10/27/2021, 4:02 AMpants.toml
like this:
[pex]
bootstrap_interpreter_names = ["python", "python3"]
(itβs safe to set it for all your users)witty-crayon-22786
10/27/2021, 4:02 AMstraight-printer-37909
10/27/2021, 4:05 AM