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

catkin_make fails

asked 2013-04-18 02:09:14 -0500

Oier gravatar image

updated 2013-04-18 02:10:33 -0500


I get an

ImportError: "from catkin_pkg.package import parse_package" failed: No module named workspaces Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.

The same package compiles on another computer. The suggestions from [0] didn't work for me, any ideas?

PYTHONPATH: /opt/ros/groovy/lib/python2.7/dist-packages

$ dpkg -L python-catkin-pkg

$ python -c 'import catkin_pkg; print(catkin_pkg.__file__)'

Many thanks!


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-18 07:31:51 -0500

William gravatar image

This is a common problem where you have catkin_pkg from pip located at /usr/local/lib... which is out-of-date and overriding the up-to-date catkin_pkg from apt. The answer in the referenced question should work for you, but here is another answer which describes the same problem and a similar solution, maybe it will work for you:

edit flag offensive delete link more

Question Tools


Asked: 2013-04-18 02:09:14 -0500

Seen: 4,472 times

Last updated: Apr 18 '13