Pin pip to 20.3.4 in CentOS 7
It's the latest build which supports python2.7 [1]. [1] https://pypi.org/project/pip/20.3.4/ Change-Id: If768555c4a8dda0d6c1c77c245680209a29040fc
This commit is contained in:
parent
f14f8b3b07
commit
2d1f409e52
@ -192,7 +192,7 @@ if [ -z $PIP ]; then
|
|||||||
$SUDO $PKG_MGR -y install python3-pip
|
$SUDO $PKG_MGR -y install python3-pip
|
||||||
PIP=pip3
|
PIP=pip3
|
||||||
else
|
else
|
||||||
which pip || $SUDO easy_install pip
|
which pip || $SUDO easy_install pip==20.3.4
|
||||||
PIP=pip
|
PIP=pip
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user