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

Can I still use catkin init and catkin build when I can't install python-catkin-tools?

asked 2020-07-03 10:31:04 -0600

MaxM gravatar image

updated 2021-10-26 09:03:32 -0600

lucasw gravatar image

I'm using ROS Noetic on Ubuntu 20.04. When I type sudo apt-get install python-catkin-tools, I get this:

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: python-catkin-tools : Depends: python-catkin-pkg (>= 0.2.9) but it is not installable Depends: python-osrf-pycommon but it is not installable E: Unable to correct problems, you have held broken packages.
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2020-07-03 11:31:28 -0600

gvdhoorn gravatar image

Can I still use catkin init and catkin build when I can't install python-catkin-tools?

The straight answer to this would be no you cannot, seeing as python-catkin-tools provides the catkin program.

If it's not installed, you cannot run it.

However, the problem you show with python-catkin-tools not being installable is a known issue.

See catkin/catkin_tools#594 where this is being tracked.

Refer to #q353113 for a work-around (note: a workaround, this is not a solution).

edit flag offensive delete link more
2

answered 2021-10-24 14:16:29 -0600

Henning Luo gravatar image

Try

sudo apt install python3-catkin-tools
edit flag offensive delete link more
0

answered 2021-06-29 11:23:12 -0600

Anjulo gravatar image

You can instead use

sudo pip3 install -U catkin_tools

edit flag offensive delete link more

Comments

2

Please note: if you do this, you won't be notified of updates to the package.

It's also not necessary no platforms with an apt package manager: see the linked #q353113.

gvdhoorn gravatar image gvdhoorn  ( 2021-06-29 14:49:15 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-07-03 10:31:04 -0600

Seen: 3,760 times

Last updated: Oct 24 '21