Hi, I've been a few weeks without programming in ROS and when I've tried to compile a simple node catkin_make returns me this error
leontes@leontes-Portatil:~/ros_ws$ catkin_make
Base path: /home/leontes/ros_ws
Source space: /home/leontes/ros_ws/src
Build space: /home/leontes/ros_ws/build
Devel space: /home/leontes/ros_ws/devel
Install space: /home/leontes/ros_ws/install
####
#### Running command: "cmake /home/leontes/ros_ws/src -DCATKIN_DEVEL_PREFIX=/home/leontes/ros_ws/devel -DCMAKE_INSTALL_PREFIX=/home/leontes/ros_ws/install -G Unix Makefiles" in "/home/leontes/ros_ws/build"
####
CMake Error at CMakeLists.txt:20 (message):
Search for 'catkin' in workspace failed (catkin_find_pkg catkin
/home/leontes/ros_ws/src): Traceback (most recent call last):
File "/usr/local/bin/catkin_find_pkg", line 4, in
import pkg_resources
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: catkin-pkg==0.2.6
-- Configuring incomplete, errors occurred!
See also "/home/leontes/ros_ws/build/CMakeFiles/CMakeOutput.log".
Invoking "cmake" failed
I didn't touch anything since last time I use it. And I've tried to reinstall everthing and even create a fresh new workspace.
↧