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

Revision history [back]

tl;dr: Do pip install catkin_pkg. You can read about the details in the following answers (and hence should also do more googling/a proper ros-answers search as well in the future):

http://answers.ros.org/question/126471/cmake-failed-catkin_pkg/
http://answers.ros.org/question/204024/no-module-named-catkin_pkgpackage-on-catkin_make-w-hydro/ http://answers.ros.org/question/49143/problems-with-rqt-groovy-ubuntu/?answer=49153#post-id-49153 http://answers.ros.org/question/61027/catkin_make-fails/

tl;dr: Do pip install catkin_pkg. You can read about the details in the following answers (and hence should also do more googling/a proper ros-answers search as well in the future):

http://answers.ros.org/question/126471/cmake-failed-catkin_pkg/
http://answers.ros.org/question/204024/no-module-named-catkin_pkgpackage-on-catkin_make-w-hydro/ http://answers.ros.org/question/49143/problems-with-rqt-groovy-ubuntu/?answer=49153#post-id-49153 http://answers.ros.org/question/204024/no-module-named-catkin_pkgpackage-on-catkin_make-w-hydro/
http://answers.ros.org/question/49143/problems-with-rqt-groovy-ubuntu/?answer=49153#post-id-49153
http://answers.ros.org/question/61027/catkin_make-fails/

tl;dr: Do pip install catkin_pkg. You can read about the details in the following answers (and hence should also do more googling/a proper ros-answers search as well in the future):answers

http://answers.ros.org/question/126471/cmake-failed-catkin_pkg/
http://answers.ros.org/question/204024/no-module-named-catkin_pkgpackage-on-catkin_make-w-hydro/
http://answers.ros.org/question/49143/problems-with-rqt-groovy-ubuntu/?answer=49153#post-id-49153
http://answers.ros.org/question/61027/catkin_make-fails/

I faced this some time back after installing Conda. tl;dr: Do pip install catkin_pkg. .
You can read about the details in the following answers

http://answers.ros.org/question/126471/cmake-failed-catkin_pkg/
http://answers.ros.org/question/204024/no-module-named-catkin_pkgpackage-on-catkin_make-w-hydro/
http://answers.ros.org/question/49143/problems-with-rqt-groovy-ubuntu/?answer=49153#post-id-49153
http://answers.ros.org/question/61027/catkin_make-fails/

I faced this some time back after installing Conda. tl;dr: Do pip install catkin_pkg.
Chances are you also want to do pip install rospkg as you'll get ImportError: No module named 'rospkg' using launch files as well.
You can read about the details in the following answersanswers.

http://answers.ros.org/question/126471/cmake-failed-catkin_pkg/
http://answers.ros.org/question/204024/no-module-named-catkin_pkgpackage-on-catkin_make-w-hydro/
http://answers.ros.org/question/49143/problems-with-rqt-groovy-ubuntu/?answer=49153#post-id-49153
http://answers.ros.org/question/61027/catkin_make-fails/

I faced this some time back after installing Conda. tl;dr: Do pip install catkin_pkg.
Chances are you also want to do pip install rospkg as you'll get ImportError: No module named 'rospkg' using launch files as well.
You can read about the details in the following answers.

catkin_pkg: http://answers.ros.org/question/126471/cmake-failed-catkin_pkg/
http://answers.ros.org/question/204024/no-module-named-catkin_pkgpackage-on-catkin_make-w-hydro/
http://answers.ros.org/question/49143/problems-with-rqt-groovy-ubuntu/?answer=49153#post-id-49153
http://answers.ros.org/question/61027/catkin_make-fails/

rospkg:

http://answers.ros.org/question/85211/importerror-no-module-named-rospkg-on-hydro-solved/ http://answers.ros.org/question/86126/import-errorno-module-named-rospkg/

I faced this some time back after installing Conda. tl;dr: Do pip install catkin_pkg.
Chances are you also want to do pip install rospkg as you'll get ImportError: No module named 'rospkg' using launch files as well.
You can read about the details in the following answers.

catkin_pkg: http://answers.ros.org/question/126471/cmake-failed-catkin_pkg/
http://answers.ros.org/question/204024/no-module-named-catkin_pkgpackage-on-catkin_make-w-hydro/
http://answers.ros.org/question/49143/problems-with-rqt-groovy-ubuntu/?answer=49153#post-id-49153
http://answers.ros.org/question/61027/catkin_make-fails/

rospkg:

http://answers.ros.org/question/85211/importerror-no-module-named-rospkg-on-hydro-solved/ http://answers.ros.org/question/85211/importerror-no-module-named-rospkg-on-hydro-solved/
http://answers.ros.org/question/86126/import-errorno-module-named-rospkg/

I faced this some time back after installing Conda. tl;dr: Do pip install catkin_pkg.
Chances are you also want to do pip install rospkg as you'll get ImportError: No module named 'rospkg' using launch files as well.
You can read about the details in the following answers.

catkin_pkg: catkin_pkg:
http://answers.ros.org/question/126471/cmake-failed-catkin_pkg/
http://answers.ros.org/question/204024/no-module-named-catkin_pkgpackage-on-catkin_make-w-hydro/
http://answers.ros.org/question/49143/problems-with-rqt-groovy-ubuntu/?answer=49153#post-id-49153
http://answers.ros.org/question/61027/catkin_make-fails/

rospkg:

rospkg:

http://answers.ros.org/question/85211/importerror-no-module-named-rospkg-on-hydro-solved/
http://answers.ros.org/question/86126/import-errorno-module-named-rospkg/

I faced this some time back after installing Conda. tl;dr: Do pip install catkin_pkg.
Chances are you also want to do pip install rospkg as you'll get ImportError: No module named 'rospkg' using launch files as well.

Maybe appending /opt/ros/indigo/lib/python2.7/dist-packages/ to $PYTHONPATH is a better solution (if that's not already there, then it's a different problem). Not tested though.

You can read about the details in the following answers.

catkin_pkg:
http://answers.ros.org/question/126471/cmake-failed-catkin_pkg/
http://answers.ros.org/question/204024/no-module-named-catkin_pkgpackage-on-catkin_make-w-hydro/
http://answers.ros.org/question/49143/problems-with-rqt-groovy-ubuntu/?answer=49153#post-id-49153
http://answers.ros.org/question/61027/catkin_make-fails/

rospkg:
http://answers.ros.org/question/85211/importerror-no-module-named-rospkg-on-hydro-solved/
http://answers.ros.org/question/86126/import-errorno-module-named-rospkg/