roscore error

error photo:

Reason

第一步:执行:ls -n /usr/bin/python

发现python软链接到了python3.7

第二步删除软链接:sudo rm -rf /usr/bin/python

第三步:然后再重新建立到python2.7的软链接:

sudo ln -s /usr/bin/python2.7 /usr/bin/python

第四步:问题解决。

参考:https://blog.csdn.net/endurance2017/article/details/102997280
https://www.it610.com/article/1291998390648905728.htm

posted on 2020-09-29 17:54  dLarger  阅读(2170)  评论(0编辑  收藏  举报