Ask Your Question
0

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

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

islemhm gravatar image

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

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

Comments

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 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

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

Mike Scheutzow gravatar image

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

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
0

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

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

Comments

@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 -0600 )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

2 followers

Stats

Asked: 2021-06-10 05:40:26 -0600

Seen: 392 times

Last updated: Jun 23