injones / mycroft_ros

A ROS wrapper for Mycroft AI
Apache License 2.0
5 stars 0 forks source link

compiling error #7

Open linsThankachan opened 4 years ago

linsThankachan commented 4 years ago

when i try to compile it is showing this error below. why is it showing like this?

ubuntu@wheelchair:~/linorobot_ws$ catkin_make Base path: /home/ubuntu/linorobot_ws Source space: /home/ubuntu/linorobot_ws/src Build space: /home/ubuntu/linorobot_ws/build Devel space: /home/ubuntu/linorobot_ws/devel Install space: /home/ubuntu/linorobot_ws/install

Running command: "cmake /home/ubuntu/linorobot_ws/src -DCATKIN_DEVEL_PREFIX=/home/ubuntu/linorobot_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ubuntu/linorobot_ws/install -G Unix Makefiles" in "/home/ubuntu/linorobot_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/ubuntu/linorobot_ws/devel -- Using CMAKE_PREFIX_PATH: /home/ubuntu/linorobot_ws/devel;/opt/ros/kinetic -- This workspace overlays: /home/ubuntu/linorobot_ws/devel;/opt/ros/kinetic -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.12", minimum required is "2") -- Using PYTHON_EXECUTABLE: /usr/bin/python2 -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/ubuntu/linorobot_ws/build/test_results -- Found gtest sources under '/usr/src/gmock': gtests will be built -- Found gmock sources under '/usr/src/gmock': gmock will be built -- Found PythonInterp: /usr/bin/python2 (found version "2.7.12") -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.20 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- Using CATKIN_WHITELIST_PACKAGES: catkin_virtualenv;mycroft_ros -- ~~~~~~~~~~~~~ -- ~~ traversing 2 packages in topological order: -- ~~ - catkin_virtualenv -- ~~ - mycroft_ros -- ~~~~~~~~~~~~~ -- +++ processing catkin package: 'catkin_virtualenv' -- ==> add_subdirectory(catkin_virtualenv/catkin_virtualenv) -- +++ processing catkin package: 'mycroft_ros' -- ==> add_subdirectory(mycroft_ros) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Generating .msg files for action mycroft_ros/GetResponse /home/ubuntu/linorobot_ws/src/mycroft_ros/action/GetResponse.action -- mycroft_ros: 14 messages, 1 services CMake Warning at catkin_virtualenv/catkin_virtualenv/cmake/catkin_generate_virtualenv.cmake:27 (message): PYTHON_VERSION has been deprecated, set 'PYTHON_INTERPRETER python3.5' instead Call Stack (most recent call first): mycroft_ros/CMakeLists.txt:126 (catkin_generate_virtualenv)

-- Only using requirements from this catkin package Traceback (most recent call last): File "/home/ubuntu/linorobot_ws/src/catkin_virtualenv/catkin_virtualenv/scripts/collect_requirements", line 23, in from catkin_virtualenv import configure_logging, collect_requirements File "/home/ubuntu/linorobot_ws/src/catkin_virtualenv/catkin_virtualenv/src/catkin_virtualenv/collect_requirements.py", line 25, in from catkin.find_in_workspaces import find_in_workspaces File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/find_in_workspaces.py", line 36, in from catkin_pkg.packages import find_packages ImportError: No module named 'catkin_pkg' Traceback (most recent call last): File "/home/ubuntu/linorobot_ws/src/catkin_virtualenv/catkin_virtualenv/scripts/collect_requirements", line 23, in from catkin_virtualenv import configure_logging, collect_requirements File "/home/ubuntu/linorobot_ws/src/catkin_virtualenv/catkin_virtualenv/src/catkin_virtualenv/collect_requirements.py", line 25, in from catkin.find_in_workspaces import find_in_workspaces File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/find_in_workspaces.py", line 36, in from catkin_pkg.packages import find_packages ImportError: No module named 'catkin_pkg' -- Using virtualenv to run Python nosetests: -- Configuring done -- Generating done -- Build files have been written to: /home/ubuntu/linorobot_ws/build

Running command: "make -j4 -l4" in "/home/ubuntu/linorobot_ws/build"

[ 1%] Generate virtualenv in /home/ubuntu/linorobot_ws/build/venv [ 1%] Built target _mycroft_ros_generate_messages_check_deps_GetResponseActionGoal [ 1%] Built target _mycroft_ros_generate_messages_check_deps_Mycroft [ 1%] Built target _mycroft_ros_generate_messages_check_deps_GetResponseAction [ 1%] Built target actionlib_msgs_generate_messages_py [ 1%] Built target _mycroft_ros_generate_messages_check_deps_MycroftSkill [ 1%] Built target _mycroft_ros_generate_messages_check_deps_IntentRequire [ 1%] Built target std_msgs_generate_messages_py [ 1%] Built target _mycroft_ros_generate_messages_check_deps_Speech [ 1%] Built target _mycroft_ros_generate_messages_check_deps_GetResponseActionResult [ 1%] Built target _mycroft_ros_generate_messages_check_deps_IntentResponseEntity [ 1%] Built target _mycroft_ros_generate_messages_check_deps_GetResponseActionFeedback [ 1%] Built target _mycroft_ros_generate_messages_check_deps_GetResponseFeedback [ 1%] Built target _mycroft_ros_generate_messages_check_deps_IntentOptional [ 1%] Built target _mycroft_ros_generate_messages_check_deps_Intent [ 1%] Built target _mycroft_ros_generate_messages_check_deps_GetResponseResult Traceback (most recent call last): File "/home/ubuntu/linorobot_ws/src/catkin_virtualenv/catkin_virtualenv/scripts/venv_init", line 24, in from catkin_virtualenv.venv import Virtualenv File "/home/ubuntu/linorobot_ws/src/catkin_virtualenv/catkin_virtualenv/src/catkin_virtualenv/venv.py", line 33, in from .collect_requirements import collect_requirements File "/home/ubuntu/linorobot_ws/src/catkin_virtualenv/catkin_virtualenv/src/catkin_virtualenv/collect_requirements.py", line 25, in from catkin.find_in_workspaces import find_in_workspaces File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/find_in_workspaces.py", line 36, in from catkin_pkg.packages import find_packages ImportError: No module named 'catkin_pkg' [ 1%] Built target _mycroft_ros_generate_messages_check_deps_GetResponseGoal [ 1%] Built target _mycroft_ros_generate_messages_check_deps_IntentResponse [ 1%] Built target actionlib_msgs_generate_messages_eus Scanning dependencies of target std_msgs_generate_messages_eus mycroft_ros/CMakeFiles/mycroft_ros_generate_virtualenv.dir/build.make:75: recipe for target 'venv/bin/python' failed make[2]: [venv/bin/python] Error 1 CMakeFiles/Makefile2:853: recipe for target 'mycroft_ros/CMakeFiles/mycroft_ros_generate_virtualenv.dir/all' failed make[1]: [mycroft_ros/CMakeFiles/mycroft_ros_generate_virtualenv.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... Scanning dependencies of target actionlib_msgs_generate_messages_cpp [ 1%] Built target std_msgs_generate_messages_eus Scanning dependencies of target std_msgs_generate_messages_cpp [ 1%] Built target actionlib_msgs_generate_messages_cpp [ 1%] Built target std_msgs_generate_messages_cpp Makefile:138: recipe for target 'all' failed make: [all] Error 2 Invoking "make -j4 -l4" failed ubuntu@wheelchair:~/linorobot_ws$

BellLabsEAT commented 3 years ago

Hi, I am having the same issue. Did you happen to solve this?