pip3 binary missing, switch to use python -m pip
C7 jobs are failing with below error, details in bug:- ~~~ sudo: pip3: command not found ~~~ We are mixing installation of rpm and source at various places. Switching to "python -m pip" as its more safer option when pip binary is missing. [1] https://bugs.launchpad.net/tripleo/+bug/1915932 Closes-Bug: #1915932 Change-Id: I3ac50a92ba14a1432f02463211caba87d08a51f1
This commit is contained in:
parent
f1bc42d3fa
commit
a452c68071
|
@ -146,7 +146,7 @@ install_deps () {
|
|||
if [ -z $centos7py3 ]; then
|
||||
sudo $(package_manager) install $VIRTUALENV_PACKAGE
|
||||
else
|
||||
sudo pip3 install virtualenv
|
||||
sudo $(python_cmd) -m pip install virtualenv
|
||||
sudo $(package_manager) install gcc python3-devel
|
||||
fi
|
||||
check_python_module virtualenv &> /dev/null || \
|
||||
|
|
Loading…
Reference in New Issue