diff --git a/images/linux/scripts/installers/python.sh b/images/linux/scripts/installers/python.sh index bd78087c2b46..79c57d530e4f 100644 --- a/images/linux/scripts/installers/python.sh +++ b/images/linux/scripts/installers/python.sh @@ -11,13 +11,10 @@ source $HELPER_SCRIPTS/os.sh # Install Python, Python 3, pip, pip3 if isUbuntu16 || isUbuntu18; then - apt-get install -y --no-install-recommends python python-dev python-pip python3 python3-dev python3-pip python3-venv + apt-get install -y --no-install-recommends python python-dev python-pip fi -if isUbuntu20; then - apt-get install -y --no-install-recommends python3 python3-dev python3-pip python3-venv - ln -s /usr/bin/pip3 /usr/bin/pip -fi +apt-get install -y --no-install-recommends python3 python3-dev python3-pip python3-venv if isUbuntu18 || isUbuntu20 ; then # Install pipx