cold-breakfast-93567
06/01/2021, 8:30 PMpythhon39
is being picked up even after being super explicit about the version of the python repl?enough-analyst-54434
06/01/2021, 8:31 PM./pants -ldebug ...
plus all the resulting output in total.enough-analyst-54434
06/01/2021, 8:32 PMenough-analyst-54434
06/01/2021, 8:33 PMenough-analyst-54434
06/01/2021, 8:34 PMenough-analyst-54434
06/01/2021, 8:35 PMcold-breakfast-93567
06/01/2021, 8:36 PMcold-breakfast-93567
06/01/2021, 8:42 PM-ldebug
provides a bunch of super useful output, thank you for the suggestion, didn't know it (I'm a pants
newbie)cold-breakfast-93567
06/01/2021, 10:21 PMremoving pyenv shims from your PATH, ./pants clean-all, ./pants ...
helped, thank you for the suggestion! I was wondering if there is any CLI flag that I can use to write in stone the interpreter path? (i.e. to achieve the same result without modifying PATH)cold-breakfast-93567
06/01/2021, 10:23 PMenough-analyst-54434
06/01/2021, 10:36 PM--python-setup-interpreter-search-paths="['<PYENV>', '<PATH>']"
- and that's a literal string including the <PYENV>
and `<PATH>`bits. That bit of pyenv special casing adds all the ~/.pyenv/vesions/*/bin
to your interpreter search path. By placing that ahead of <PATH>
, that will find a valid pyenv 2.7 interpreter - if you have on - before looking for one on the <PATH>
and seeing shims.enough-analyst-54434
06/01/2021, 10:37 PM