From ee9b3d8fe7590c8aec3b6b5dc0f3681f5c6517a5 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Tue, 6 Feb 2024 20:47:07 +0300 Subject: [PATCH] Use --break-system-packages flag for pip --- builder/image-build-ros.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/image-build-ros.sh b/builder/image-build-ros.sh index 179dbbff0..b2b0d0cf9 100755 --- a/builder/image-build-ros.sh +++ b/builder/image-build-ros.sh @@ -32,7 +32,7 @@ apt-get install -y python3-distutils build-essential git # python3-vcstool # install vcstool using pip curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py && rm get-pip.py -pip3 install -U vcstool rosdep rosinstall-generator +pip3 install -U --break-system-packages vcstool rosdep rosinstall-generator # sudo rosdep init rm /etc/ros/rosdep/sources.list.d/20-default.list