<#17533 ./pants fails to bootstrap if PY is not se...
# github-notifications
q
#17533 ./pants fails to bootstrap if PY is not set New issue created by tdyas When bootstrapping a new clone of the Pants repository at latest ,
./pants
failed with the following error message because
PY
was not set:
Copy code
paradox:~/Projects/Pants/pants% ./pants
/REDACTED/pants/build-support/pants_venv: line 20: -c: command not found
Bootstrapping pants_deps with requirements:
  /REDACTED/pants/3rdparty/python/requirements.txt
/REDACTED/pants/build-support/pants_venv: line 20: -c: command not found
/REDACTED/pants/build-support/pants_venv: line 20: -c: command not found
/REDACTED/pants/build-support/pants_venv: line 33: : command not found

Failed to create venv.
Setting
PY=python3
allows bootstrap to work. (
pyenv
was already configured with CPython 3.10 as
python3
). pantsbuild/pants