freezing-quill-50372
04/08/2022, 5:42 AMRun ./pants --version
./pants: line 371: /home/runner/.cache/pants/setup/bootstrap-Linux-x86_64/2.9.0_py39/bin/python: No such file or directory
enough-analyst-54434
04/08/2022, 2:21 PM~/.cache/pants/setup
dir:
$ tree -d -L 2 ~/.cache/pants/setup/bootstrap-Linux-x86_64/
/home/jsirois/.cache/pants/setup/bootstrap-Linux-x86_64/
├── 2.11.0rc1_py39 -> /home/jsirois/.cache/pants/setup/bootstrap-Linux-x86_64/pants.a8FakE/install
├── 2.9.0_py38 -> /home/jsirois/.cache/pants/setup/bootstrap-Linux-x86_64/pants.S6hj1G/install
├── pants.a8FakE
│ └── install
├── pants.HXDzxY
│ └── install
├── pants.S6hj1G
│ └── install
├── pex-2.1.62
└── virtualenv-20.4.7
Note that the bootstrap-Linux-x86_64/X.Y.Z_pyXY
dirs are symlinks to pants.ABCDEFG/install
directories. It would seem you still have the symlink but you don't have the complete target directory (your target directory is missing a bin/
subdirectory for example). I can't explain why that would be so, but the error message you post seems to indicate that.
I do notice from the error message that you're using a fairly old pants
bootstrap script. You may want to re-fresh that using these instructions: https://www.pantsbuild.org/docs/installation#creating-the-launch-script That will at least help debugging with modern line numbers if you continue to get the same style error after the upgrade.freezing-quill-50372
04/11/2022, 9:32 PM