How to update a ROS2 package
Hi I was following the ros2 doctor tutorial (https://index.ros.org/doc/ros2/Tutorials/Getting-Started-With-Ros2doctor/) and it gave the following warning
/opt/ros/foxy/lib/python3.8/site-packages/ros2doctor/api/package.py: 112: UserWarning: message_filters has been updated to a new version. local: 3.2.4 < required: 3.2.5
My question is, how to I upgrade this package?
Asked by stewart menday on 2020-12-21 01:59:43 UTC
Answers
If you are on Ubuntu have you tried apt-get update
and the apt-get upgrade
? (Use sudo
to run as root) (If the ROS repos are on your apt lists , which I am imaign they are for you to get your insstall).
Asked by vinny on 2020-12-21 10:36:17 UTC
Comments
rosdep can mix apt and pip python packages, so things can get confusing.
ros2 maintains its own set python packages in /opt/ros/foxy/lib/python3.8/site-packages
. Once you've sourced your ros underlay you can install (or upgrade) a python package with a command like:
sudo pip3 install -t $PYTHONPATH <python package>
Asked by SmallJoeMan on 2020-12-21 12:08:57 UTC
Comments
I'm a newbie on ROS 2 but probably just using rosdep or with synaptic should do the trick, isn't?
Asked by Solrac3589 on 2020-12-21 02:15:47 UTC