In https://github.com/google/pytype/issues/1429 today, I learned that some libraries rely on the binaries installed by their dependencies (e.g. pytype depends on ninja). When installed with pip-run, these binaries aren't available on the path, so invoking them as a subprocess command will fail with a FileNotFoundError.
I have observed that pip does in fact install these binaries to bin/ in the target (on macOS and probably Linux, maybe Scripts/ on Windows). pip-run could add this path to PATH before invoking the subprocess, making these commands available.
In https://github.com/google/pytype/issues/1429 today, I learned that some libraries rely on the binaries installed by their dependencies (e.g. pytype depends on
ninja
). When installed with pip-run, these binaries aren't available on the path, so invoking them as asubprocess
command will fail with aFileNotFoundError
.I have observed that
pip
does in fact install these binaries tobin/
in the target (on macOS and probably Linux, maybeScripts/
on Windows).pip-run
could add this path toPATH
before invoking the subprocess, making these commands available.