Open Rosa712 opened 1 year ago
ros的问题,是否用了conda环境?
ros的问题,是否用了conda环境?
运行./build_ros.sh时没有使用conda创建的虚拟环境
那先pip install rospkg试试吧
那先pip install rospkg试试吧
我查了以下好像是python版本问题,虽然上面-- Found PythonInterp: /usr/bin/python (found version "2.7.18")显示找到python2.7版本,但是下面File "/opt/ros/noetic/lib/python3/dist-packages/roslib/init.py", line 50, in
@YWL0720 @Rosa712 same problem. Is catkin workspace necessary to build ros examples?
you can view https://blog.csdn.net/weixin_62952541/article/details/131807996 to solve the problem.
按照博主的方式在bashrc里添加了rospkg路径但还是报错 但是运行./build.sh是正常的