builder: Make pip refer to pip2 by default

This may break rosdep down the line, but it seems to call `pip3` explicitly
This commit is contained in:
Alexey Rogachevskiy
2020-03-18 15:58:12 +03:00
parent 0ffde38b8b
commit 60a77a35a5

View File

@@ -121,9 +121,8 @@ sed -i "s/updates_available//" /usr/share/byobu/status/status
echo_stamp "Installing pip"
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
# Install pip for python2 first, so that pip binary will default to pip3
python get-pip.py
python3 get-pip.py
python get-pip.py
rm get-pip.py
#my_travis_retry pip install --upgrade pip
#my_travis_retry pip3 install --upgrade pip