cool-easter-32542
06/16/2025, 7:11 PMpants.toml file to use version 2.25 or 2.26 (from 2.24), one user gets the following message every time they try to run a pants command:
Failed to find compatible interpreter on path /home/REDACTED_NAME/.cache/nce/REDACTED_HASH1/cpython-3.11.9+20240415-x86_64-unknown-linux-gnu-install_only.tar.gz/python/bin/python3.11.
Examined the following interpreters:
1.) /home/REDACTED_NAME/.cache/nce/REDACTED_HASH1/cpython-3.11.9+20240415-x86_64-unknown-linux-gnu-install_only.tar.gz/python/bin/python3.11 CPython==3.11.9
No interpreter compatible with the requested constraints was found:
Version matches CPython<3.10,>=3.8
Error: Failed to establish atomic directory /home/REDACTED_NAME/.cache/nce/REDACTED_HASH2/locks/install-REDACTED_HASH3. Population of work directory failed: Boot binding command failed: exit status: 1
Isolates your Pants from the elements.
Please select from the following boot commands:
<default> (when SCIE_BOOT is not set in the environment) Detects the current Pants installation and launches it.
bootstrap-tools Introspection tools for the Pants bootstrap process.
update Update scie-pants.
You can select a boot command by setting the SCIE_BOOT environment variable.
Pants version
2.25 or 2.26
OS
Linux
Additional info
The user environment has Python 3.9.22 (default if you were to run $ python 3.9), 3.11.3 (default if you were to run $ python 3.11), and 3.11.12 installed via asdf.
Some probably irrelevant pants.toml settings (including just in case):
[python]
interpreter_constraints = ["CPython==3.11.3"]
...
[python-bootstrap]
search_path = [
# Typical developer workflows:
"<ASDF>",
# GitHub workflows and miscellaneous:
"<PATH>",
]
...
[pex-cli]
version = "v2.38.1"
known_versions = [
...,
"v2.38.1|macos_arm64|4839cb13232c9918279198a4651193cd58a03920ab0c5a5772fa96e00de21904|4813104",
"v2.38.1|macos_x86_64|4839cb13232c9918279198a4651193cd58a03920ab0c5a5772fa96e00de21904|4813104",
"v2.38.1|linux_arm64|4839cb13232c9918279198a4651193cd58a03920ab0c5a5772fa96e00de21904|4813104",
"v2.38.1|linux_x86_64|4839cb13232c9918279198a4651193cd58a03920ab0c5a5772fa96e00de21904|4813104",
]
Some information about the machine:
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 48 bits virtual
Byte Order: Little Endian
...
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
We tried removing .cache completely, rerunning get-pants.sh, but no dice.
pantsbuild/pants