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

[python3-pykdl] defined as "not available" for OS version [bionic]

asked 2021-06-10 05:40:26 -0500

islemhm gravatar image

updated 2021-06-10 18:04:31 -0500

jayess gravatar image

hello ihave a problem when i run

rosdep install -y --from-paths . --ignore-src --rosdistro melodic

it show me this error

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
tf2_geometry_msgs: [python3-pykdl] defined as "not available" for OS version [bionic]
tf2_sensor_msgs: [python3-pykdl] defined as "not available" for OS version [bionic]
amcl: [python3-pykdl] defined as "not available" for OS version [bionic]

any one can help me plzz i use ubuntu 18.04 and ros melodic

edit retag flag offensive close merge delete


It's likely the OP cloned the noetic-devel version of the tf2 repository and it's trying to install Python 3 dependencies. For Melodic that won't work.

Manually installing dependencies should not be necessary. Using rosdep is always preferred.

gvdhoorn gravatar image gvdhoorn  ( 2021-06-24 02:20:20 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2021-06-23 14:59:28 -0500

Mike Scheutzow gravatar image

updated 2021-06-23 15:01:46 -0500

On ubuntu 18, you can install most ros dependencies from the apt repository using apt-get; it works well here and I do not get the errors you are reporting. apt-get knows to install the python2 files needed for melodic.

sudo apt-get install ros-melodic-sensor-msgs
sudo apt-get install ros-melodic-tf2-sensor-msgs
edit flag offensive delete link more

answered 2021-06-10 11:29:28 -0500

aprotyas gravatar image

ROS Melodic uses Python 2 packages, which is why python3-pykdl is unavailable. You'll probably need to use python_orocos_kdl instead

edit flag offensive delete link more


@aprotyas when i try to install it it show me Cannot find package python_orocos_kdl

islemhm gravatar image islemhm  ( 2021-06-14 16:04:08 -0500 )edit

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: 2021-06-10 05:40:26 -0500

Seen: 1,628 times

Last updated: Jun 23 '21