Skip to content

Commit

Permalink
fix(setup): install pip in the setup script (autowarefoundation#3290)
Browse files Browse the repository at this point in the history
fix: pip install ansible

Signed-off-by: taikitanaka3 <[email protected]>
  • Loading branch information
taikitanaka3 authored Feb 27, 2023
1 parent 964ad92 commit cf0e53b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cf0e53b

Please sign in to comment.