rapid-exabyte-76685
05/25/2022, 4:31 AM[python-bootstrap]
search_path = ["<PYENV>"]
and I tried adding "<PATH>"
but that didn’t helprapid-exabyte-76685
05/25/2022, 4:31 AMNo valid Python interpreter found…
is the error messagehundreds-father-404
05/25/2022, 4:45 AM./pants
bash runner script, vs Pants itself
[python-bootstrap].search_path
impacts the interpreters Pants finds to run your own code. It does not impact what is used to run Pants itselfhundreds-father-404
05/25/2022, 4:46 AMset -x
at the top of the ./pants
script to get more logging
Also you can set the env var PYTHON
to run Pants w/ a particular Python interpreter: https://github.com/pantsbuild/setup/blob/dfc1a75baa01ee7948a4fd98bf4fd7f32df70797/pants#L26
(or edit the bash script)rapid-exabyte-76685
05/25/2022, 4:59 AM./pants
rapid-exabyte-76685
05/25/2022, 6:03 AMexport PYTHON=/home/jim/.pyenv/versions/3.9.12/bin/python
gets things workinghundreds-father-404
05/25/2022, 1:23 PMbest-eye-98745
07/03/2022, 12:37 AMhundreds-father-404
07/05/2022, 1:57 PM