安装ros遇到问题...roscore报错
-
(base) shiyanshi@shiyanshi-System-Product-Name:~$ roscore
Traceback (most recent call last):
File "/usr/bin/roscore", line 37, in <module>
from roslaunch.nodeprocess import DEFAULT_TIMEOUT_SIGINT, DEFAULT_TIMEOUT_SIGTERM
File "/usr/lib/python3/dist-packages/roslaunch/init.py", line 62, in <module>
from .scriptapi import ROSLaunch
File "/usr/lib/python3/dist-packages/roslaunch/scriptapi.py", line 42, in <module>
import roslaunch.parent
File "/usr/lib/python3/dist-packages/roslaunch/parent.py", line 54, in <module>
import roslaunch.server
File "/usr/lib/python3/dist-packages/roslaunch/server.py", line 80, in <module>
from rosgraph_msgs.msg import Log
ImportError: cannot import name 'Log' from 'rosgraph_msgs.msg' (/opt/ros/humble/local/lib/python3.10/dist-packages/rosgraph_msgs/msg/init.py)已经卡在这里两天了,卸载了ros-humble再重装年一遍,ros的
小乌龟都被我推秃毛了还是运行不了roscore,why?``` -
@1206896712 备注下:我安装的是最新的ros-humble,python是3.10版
-
@1206896712 谁告诉你ros2有roscore的?
-
@小鱼 我靠我还真不知道,,,,
-
@1206896712 解决了吗,我卡在这好久了,不知道怎么办,网上的攻略都试过了,反而问题越来越多,环境配崩好几次了,卸了装,装了卸
-
@小鱼 今天才看到,困扰我好久了 原来ros2 humble 就没有这个命令