pip
doesn't use same version as /usr/bin/env python
#1312
Labels
Milestone
pip
doesn't use same version as /usr/bin/env python
#1312
Description
All the tests in tools/builds.sh fail if /usr/bin/env python uses a different version from
pip
.Relevant code
In tools/build.sh:
Solution
Change
pip
to/usr/bin/env python -m pip
. This will either succeed or throw an error in all use cases, instead of silently installing for the wrong version.Note
I know, having different system-wide python from user python is never a good idea. It's an easy fix, though, and I find python2 irritating.
The text was updated successfully, but these errors were encountered: