小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
ros noetic 报错 ImportError: No module named rospkg
-
雷达 ros noetic 报错
ImportError: No module named rospkg
[map_manager-6] process has died [pid 11242, exit code 1, cmd /home/tan/robot_ws/src/world_canvas_server/src/world_canvas_server/map_manager.py __name:=map_manager __log:=/home/tan/.ros/log/fb14cde2-34e9-11ed-88a9-73e8a92000fd/map_manager-6.log].
log file: /home/tan/.ros/log/fb14cde2-34e9-11ed-88a9-73e8a92000fd/map_manager-6*.log
Traceback (most recent call last):
File "/home/tan/robot_ws/src/transbot_nav/scripts/scan_compression.py", line 3, in <module>
import rospy
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/init.py", line 49, in <module>
from .client import spin, myargv, init_node,
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/client.py", line 52, in <module>
import roslib
File "/opt/ros/noetic/lib/python3/dist-packages/roslib/init.py", line 50, in <module>
from roslib.launcher import load_manifest # noqa: F401
File "/opt/ros/noetic/lib/python3/dist-packages/roslib/launcher.py", line 42, in <module>
import rospkg
-
@1767049207 装了ros了吗,有装的记得source环境,不行手动安装下rospkg
sudo apt install python3-pip sudo pip install rospkg
-
@小鱼 有裝的。但是就是説我沒有。。