Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named rospkg while building nodelet-topic-tools #84

Open
kraravin opened this issue Oct 30, 2018 · 0 comments
Open

Comments

@kraravin
Copy link

I am building meta-ros for ARM. Here is the build logs,

| catkin_generated/env_cached.sh /local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/nodelet_core-1.9.10/nodelet_topic_tools/cfg/NodeletThrottle.cfg /local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/recipe-sysroot/opt/ros/indigo/share/dynamic_reconfigure/cmake/.. /local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/build/devel/share/nodelet_topic_tools /local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/build/devel/include/nodelet_topic_tools /local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/build/devel/lib/python3.5/site-packages/nodelet_topic_tools
| Traceback (most recent call last):
| File "/local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/nodelet_core-1.9.10/nodelet_topic_tools/cfg/NodeletThrottle.cfg", line 3, in
| from dynamic_reconfigure.parameter_generator_catkin import *
| File "/local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/recipe-sysroot/opt/ros/indigo/lib/python3.5/site-packages/dynamic_reconfigure/init.py", line 38, in
| import roslib
| File "/local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/recipe-sysroot/opt/ros/indigo/lib/python3.5/site-packages/roslib/init.py", line 50, in
| from roslib.launcher import load_manifest
| File "/local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/recipe-sysroot/opt/ros/indigo/lib/python3.5/site-packages/roslib/launcher.py", line 42, in
| import rospkg
| ImportError: No module named rospkg
| make[2]: *** [devel/include/nodelet_topic_tools/NodeletThrottleConfig.h] Error 1
| make[2]: Leaving directory /local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/build' | make[1]: *** [CMakeFiles/nodelet_topic_tools_gencfg.dir/all] Error 2 | make[1]: Leaving directory /local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/build'
| make: *** [all] Error 2
| WARNING: /local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/temp/run.do_compile.9139:1 exit 2 from 'VERBOSE=1 cmake --build '/local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/build' -- -j 20'
| ERROR: Function failed: do_compile (log file is located at /local/mnt/workspace/Automotive/LV_ROS_Build/poky/build/tmp-glibc/work/aarch64-oe-linux/nodelet-topic-tools/1.9.10-r0/temp/log.do_compile.9139)
ERROR: Task (/local/mnt/workspace/Automotive/LV_ROS_Build/poky/meta-ros/recipes-ros/nodelet-core/nodelet-topic-tools_1.9.10.bb:do_compile) failed with exit code '1'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant