Add --break-system-packages flag to pip

This commit is contained in:
Oleg Kalachev
2024-02-06 21:34:31 +03:00
parent 3906bc0318
commit 9d0499159a

View File

@@ -32,7 +32,7 @@ apt-get install -y python3-distutils build-essential git python3-pip # python3-v
# 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