@小鱼 在docker容器里运行这个系统,python2.7的环境下是不是不可以用一键安装rosdep了,一键安装是python3以上吧,我装完之后rosdepc update
Traceback (most recent call last):
File "/usr/local/bin/rosdepc", line 7, in <module>
from rosdepc.rosdepc import main
File "/usr/local/lib/python3.5/dist-packages/rosdepc/init.py", line 1, in <module>
from .rosdepc import main
File "/usr/local/lib/python3.5/dist-packages/rosdepc/rosdepc.py", line 3, in <module>
import rosdep2
File "/usr/local/lib/python3.5/dist-packages/rosdep2/init.py", line 45, in <module>
from .lookup import RosdepDefinition, RosdepView, RosdepLookup,
File "/usr/local/lib/python3.5/dist-packages/rosdep2/lookup.py", line 41, in <module>
from .rospkg_loader import RosPkgLoader
File "/usr/local/lib/python3.5/dist-packages/rosdep2/rospkg_loader.py", line 39, in <module>
import catkin_pkg.package
File "/usr/local/lib/python3.5/dist-packages/catkin_pkg/package.py", line 44, in <module>
from catkin_pkg.condition import evaluate_condition
File "/usr/local/lib/python3.5/dist-packages/catkin_pkg/condition.py", line 17, in <module>
import pyparsing as pp
File "/usr/local/lib/python3.5/dist-packages/pyparsing/init.py", line 100
major: int
^
SyntaxError: invalid syntax
有这个报错,要怎么解决呢