Skip to content

Commit

Permalink
[ubuntu] Remove pip symlink creation (actions#3366)
Browse files Browse the repository at this point in the history
  • Loading branch information
miketimofeev authored May 12, 2021
1 parent d70d9f2 commit 0871444
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions images/linux/scripts/installers/python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0871444

Please sign in to comment.