"No module named catkin_pkg.package" error during Catkin make
I am following the tutorial in http://wiki.ros.org/ROS/Tutorials/Ins...
After installing ROS-indigo..I tried
$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ catkin_init_workspace
$ cd ~/catkin_ws/
$ catkin_make
But cmake command failed !!
chaluvad@nth:~/catkin_ws$ catkin_make
Base path: /home/chaluvad/catkin_ws
Source space: /home/chaluvad/catkin_ws/src
Build space: /home/chaluvad/catkin_ws/build
Devel space: /home/chaluvad/catkin_ws/devel
Install space: /home/chaluvad/catkin_ws/install
####
#### Running command: "cmake /home/chaluvad/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/chaluvad/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/chaluvad/catkin_ws/install -G Unix Makefiles" in "/home/chaluvad/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/chaluvad/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/local/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/chaluvad/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
ImportError: "from catkin_pkg.package import parse_package" failed: No module named catkin_pkg.package
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
CMake Error at /opt/ros/indigo/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/usr/local/bin/python
"/opt/ros/indigo/share/catkin/cmake/parse_package_xml.py"
"/opt/ros/indigo/share/catkin/cmake/../package.xml"
"/home/chaluvad/catkin_ws/build/catkin/catkin_generated/version/package.cmake")
returned error code 1
Call Stack (most recent call first):
/opt/ros/indigo/share/catkin/cmake/catkin_package_xml.cmake:63 (safe_execute_process)
/opt/ros/indigo/share/catkin/cmake/all.cmake:151 (_catkin_package_xml)
/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:52 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/chaluvad/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/chaluvad/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
chaluvad@nth:~/catkin_ws$
Please tell us how you installed ROS. Any tutorials you followed?
catkin_pkg
is a base package and should have been installed for you.are you using some custom version of Python? Built from source?
Hi, I just followed instructions from http://wiki.ros.org/indigo/Installati...