Skip to content

Commit

Permalink
Noticed that when I set up ubuntu on virtual machine that it did not …
Browse files Browse the repository at this point in the history
…come pre installed with pip so i included a check in the install script
  • Loading branch information
DaniParr committed Dec 29, 2024
1 parent d011e80 commit 87a992c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ mil_system_install --no-install-recommends \
wget \
vim

# Before installing with pip,
# Check if pip is already installed and if not install pip.
if ! command -v pip &> /dev/null; then
sudo apt-get update && sudo apt-get install -y python3-pip
fi

# Turn on breaking system packages in pip (set to 0 by default in noble)
# Generally, our packages shouldn't break the system, but we will continue to monitor
# this for the future. ROS2 and rosdep have a hard time with virtual environments,
Expand Down

0 comments on commit 87a992c

Please sign in to comment.