Use --break-system-packages flag for pip

This commit is contained in:
Oleg Kalachev
2024-02-06 20:47:07 +03:00
parent aac5b25c60
commit ee9b3d8fe7

View File

@@ -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