diff --git a/setup-dev-env.sh b/setup-dev-env.sh index af7090c6ed8..7fe21367f45 100755 --- a/setup-dev-env.sh +++ b/setup-dev-env.sh @@ -113,10 +113,15 @@ if ! (command -v git >/dev/null 2>&1); then sudo apt-get -y install git fi +# Install pip for ansible +if ! (python3 -m pip --version >/dev/null 2>&1); then + sudo apt-get -y update + sudo apt-get -y install python3-pip python3-venv +fi + # Install pipx for ansible if ! (python3 -m pipx --version >/dev/null 2>&1); then sudo apt-get -y update - sudo apt-get -y install python3-pip python3-venv python3 -m pip install --user pipx fi