ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to update a ROS2 package

asked 2020-12-21 00:59:43 -0500

stewart menday gravatar image

Hi I was following the ros2 doctor tutorial ( and it gave the following warning

/opt/ros/foxy/lib/python3.8/site-packages/ros2doctor/api/ 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?

edit retag flag offensive close merge delete


I'm a newbie on ROS 2 but probably just using rosdep or with synaptic should do the trick, isn't?

Solrac3589 gravatar image Solrac3589  ( 2020-12-21 01:15:47 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2020-12-21 11:08:57 -0500

SmallJoeMan gravatar image

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>

edit flag offensive delete link more

answered 2020-12-21 09:36:17 -0500

vinny gravatar image

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).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-12-21 00:59:43 -0500

Seen: 1,098 times

Last updated: Dec 21 '20