fierce-keyboard-91032
10/25/2022, 5:54 AMinterpreter_constraints = ["==3.7.*"]
inside pants.toml
, and ./pants test
and ./pants lint
works well. But whenever I try to do a ./pants run
for some pex_binary
, I receive the error /usr/bin/env: 'python3.7': No such file or directory
. It seems to look for a global installation of python3.7
in my machine, instead of the one installed by pants. Is there some configuration I needed to fix this?
The pex binary:
pex_binary(
name="manage",
entry_point="manage.py",
)
`manage.py`:
print('Hello world')