Error while building catkin package
Error:
File "/usr/local/bin/catkin", line 9, in <module>
load_entry_point('catkin-tools==0.5.0', 'console_scripts', 'catkin')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/dist-packages/catkin_tools/commands/catkin.py", line 200
file=sys.stderr)
What package are you trying to build? How are you building it? and what is your complete error stack?
I was shifting from melodic to kinetic to implement a certain package and hence tried to build an empty src in catkin workspace but was faced with the error shown above while using catkin build. Tried reinstalling catkin but to no avail. Please Help!