We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57a868d + 2df2aa0 commit ca3407cCopy full SHA for ca3407c
1 file changed
tools/install_pip.sh
@@ -46,15 +46,13 @@ echo "Distro: $DISTRO"
46
function get_versions {
47
# FIXME(dhellmann): Deal with multiple python versions here? This
48
# is just used for reporting, so maybe not?
49
- PIP=$(which pip 2>/dev/null || which pip-python 2>/dev/null || true)
+ PIP=$(which pip 2>/dev/null || which pip-python 2>/dev/null || which pip3 2>/dev/null || true)
50
if [[ -n $PIP ]]; then
51
PIP_VERSION=$($PIP --version | awk '{ print $2}')
52
echo "pip: $PIP_VERSION"
53
else
54
echo "pip: Not Installed"
55
fi
56
- # Show python3 module version
57
- python${PYTHON3_VERSION} -m pip --version
58
}
59
60
0 commit comments