```E pants.engine.internals.scheduler.Ex...
# pex
h
Copy code
E           pants.engine.internals.scheduler.ExecutionError: 1 Exception encountered:
E           
E           Engine traceback:
E             in select
E             in pants.engine.process.fallible_to_exec_result_or_raise
E           Traceback (most recent call last):
E             File "/private/var/folders/q4/pv4jnnm944b_ywr3tnp_b1300000gn/T/process-execution7A8V09/src/python/pants/engine/process.py", line 265, in fallible_to_exec_result_or_raise
E               description.value,
E           pants.engine.process.ProcessExecutionFailure: Process 'Run the pex and make sure it works' failed with exit code 1.
E           stdout:
E           
E           stderr:
E           Traceback (most recent call last):
E             File "/Users/benjyw/.pyenv/versions/3.7.3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
E               "__main__", mod_spec)
E             File "/Users/benjyw/.pyenv/versions/3.7.3/lib/python3.7/runpy.py", line 85, in _run_code
E               exec(code, run_globals)
E             File "/private/tmp/process-executionntGdNC/test.pex/__main__.py", line 81, in <module>
E             File "/private/tmp/process-executionntGdNC/test.pex/.bootstrap/pex/pex_bootstrapper.py", line 403, in bootstrap_pex
E             File "/private/tmp/process-executionntGdNC/test.pex/.bootstrap/pex/pex_bootstrapper.py", line 305, in maybe_reexec_pex
E             File "/private/tmp/process-executionntGdNC/test.pex/.bootstrap/pex/interpreter.py", line 922, in resolve_base_interpreter
E             File "/private/tmp/process-executionntGdNC/test.pex/.bootstrap/pex/interpreter.py", line 710, in from_binary
E             File "/private/tmp/process-executionntGdNC/test.pex/.bootstrap/pex/jobs.py", line 199, in await_result
E             File "/private/tmp/process-executionntGdNC/test.pex/.bootstrap/pex/jobs.py", line 78, in communicate
E             File "/private/tmp/process-executionntGdNC/test.pex/.bootstrap/pex/jobs.py", line 108, in _check_returncode
E           pex.jobs.Error: Executing /Users/benjyw/.pyenv/versions/3.7.3/bin/python3.7 -s -c import os
E           import sys
E           
E           from pex.common import atomic_directory, safe_open
E           from pex.interpreter import PythonIdentity
E           
E           
E           encoded_identity = PythonIdentity.get(binary='/Users/benjyw/.pyenv/versions/3.7.3/bin/python3.7').encode()
E           sys.stdout.write(encoded_identity)
E           with atomic_directory('/Users/benjyw/.pex/interpreters/e1c3015c0ff235392343dab95b3c3e17aab0e93c/c0c7b1d61b050a2f9a47b6d901afc6d35a19aea6/d5a5ae7203d181a48d8753d07a17aec4c00e26f4', exclusive=False) as cache_dir:
E               if cache_dir:
E                   with safe_open(os.path.join(cache_dir, 'INTERP-INFO'), 'w') as fp:
E                       fp.write(encoded_identity)
E            failed with 1
E           STDERR:
E           Traceback (most recent call last):
E             File "<string>", line 8, in <module>
E           TypeError: get() got an unexpected keyword argument 'binary'