Ask Your Question

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

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

MaxM gravatar image

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

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

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

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

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

Henning Luo gravatar image


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

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

Anjulo gravatar image

You can instead use

sudo pip3 install -U catkin_tools

edit flag offensive delete link more



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

1 follower


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

Seen: 3,033 times

Last updated: Oct 24 '21