Hello everyone, I updated ubuntu from 18.04 version to 20.04 version and consequently I installed ros noetic.
The problem is: I must install some files running a .sh file, one of these files is python-catkin-tools, but I read that ros noetic doesn't work with python 2, so in the .sh file I changed that line with python3-catkin-tools, but when the script is running, it stops with this error:
pkg_resources.DistributionNotFound: The 'osrf-pycommon>0.1.1' distribution was not found and is required by catkin-tools.
If it can help you with the answer, the last line of .sh file is "catkin build"
Is there a fix with which I can avoid this error? Or I must reinstall ubuntu 18.04 with ros melodic?
Originally posted by Davide_970 on ROS Answers with karma: 81 on 2020-06-21
Post score: 7
Original comments
Comment by Davide_970 on 2020-06-22:
Thanks I'll try
Comment by Davide_970 on 2020-06-22:
Ok I installed catkin_tools with
with pip3 install --user git+https://github.com/catkin/catkin_tools.git
But now the error is:
catkin: command not found
I also tried with "catkin_make" instead "catkin build", but it's the same problem
Comment by gvdhoorn on 2020-06-22:
Try opening a new shell/terminal.
Note: this is no longer really a ROS/Catkin problem, as installing packages using pip
into your $HOME
with --user
is normal practice with pip
.
Comment by Davide_970 on 2020-06-22:
I tried with a new terminal but it's the same...