ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Download rosbridge

asked 2022-11-03 11:02:48 -0500

akumar3.1428 gravatar image

updated 2023-06-18 09:45:49 -0500

lucasw gravatar image

Hi, I tried downloading rosbridge however, I was getting the error associated with python3-tornado , I downloaded this by using pip install tornado , however when I am trying to install ros-noetic-rosbridge-server using the command sudo apt-get install ros-noetic-rosbridge-server still getting the following error

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-noetic-rosbridge-server : Depends: python3-tornado but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-11-03 13:06:23 -0500

ljaniec gravatar image

Have you tried the troubleshooting guide from the rosbridge_suite repository?

Tornado Version

Often the server breaks because it is using the wrong version of Tornado. Tornado's interfaces and behavior change very quickly, Rosbridge is only tested against the version installed by rosdep. On Debian-based systems, this is the apt package python-tornado.

To check your imported Tornado version, run:

python -c 'import tornado; print tornado.version'

The imported version should the apt version:

apt-cache show python-tornado | grep Version

If the versions don't match, it's likely that the wrong version of Tornado was installed with pip. Try uninstalling it:

pip uninstall tornado

If the wrong version is still imported, you will need to find it and remove it. You might find it with something like:

find /usr/local/lib/python*/*-packages/ -type d | grep '/tornado/'

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-11-03 11:02:48 -0500

Seen: 174 times

Last updated: Nov 03 '22