File tree 1 file changed +10
-2
lines changed
interbotix_ros_xsarms/install/amd64
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -166,14 +166,22 @@ function install_essential_packages() {
166
166
# Install necessary core packages
167
167
sudo apt-get install -yq curl git
168
168
if [ " $ROS_VERSION_TO_INSTALL " == 2 ]; then
169
- pip3 install transforms3d
169
+ if [ " $UBUNTU_VERSION " == " 24.04" ]; then
170
+ sudo pip3 install --break-system-packages transforms3d
171
+ else
172
+ sudo pip3 install transforms3d
173
+ fi
170
174
fi
171
175
if [ $PY_VERSION == 2 ]; then
172
176
sudo apt-get install -yq python-pip
173
177
python -m pip install modern_robotics
174
178
elif [ $PY_VERSION == 3 ]; then
175
179
sudo apt-get install -yq python3-pip
176
- pip3 install modern_robotics
180
+ if [ " $UBUNTU_VERSION " == " 24.04" ]; then
181
+ python3 -m pip --break-system-packages install modern_robotics
182
+ else
183
+ python3 -m pip install modern_robotics
184
+ fi
177
185
else
178
186
failed " Something went wrong. PY_VERSION='$PY_VERSION ', should be 2 or 3."
179
187
fi
You can’t perform that action at this time.
0 commit comments