<#2027 Pex fails when an expected pip log doesn't ...
# github-notifications
q
#2027 Pex fails when an expected pip log doesn't exist Issue created by benjyw This reproduces the problem on an aarch64 machine (but not on other platforms):
Copy code
$ PEX_VERBOSE=1 python3.7  -m pex --interpreter-constraint $'CPython<3.10,>=3.7' pex==2.1.112   --resolver-version pip-2020-resolver --preserve-pip-download-log

...

  File "/home/gha/pex/pex/pip/log_analyzer.py", line 97, in _check_returncode
    with open(self._log, "r") as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pex-pip-log.5vrr25lt/pip.log'
[Errno 2] No such file or directory: '/tmp/pex-pip-log.5vrr25lt/pip.log'
Some logs are written (you can see them with
--preserve-pip-download-log
) but there is always one that isn't. Unclear why, or under what conditions. pantsbuild/pex
u