I can't run
python scenario_runner.py --scenario FollowLeadingVehicle_1 --reloadWorld
It shows:
Traceback (most recent call last):
File "scenario_runner.py", line 35, in
from srunner.scenarioconfigs.openscenario_configuration import OpenScenarioConfiguration
File "/home/ian/scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py", line 16, in
import xmlschema
File "/home/ian/.local/lib/python2.7/site-packages/xmlschema/init.py", line 15, in
from .resources import (
File "/home/ian/.local/lib/python2.7/site-packages/xmlschema/resources.py", line 14, in
from elementpath import iter_select, Selector, XPath1Parser
File "/home/ian/.local/lib/python2.7/site-packages/elementpath/init.py", line 23, in
from . import datatypes
File "/home/ian/.local/lib/python2.7/site-packages/elementpath/datatypes/init.py", line 20, in
from .atomic_types import xsd10_atomic_types, xsd11_atomic_types, AnyAtomicType
File "/home/ian/.local/lib/python2.7/site-packages/elementpath/datatypes/atomic_types.py", line 101
class AnyAtomicType(metaclass=AtomicTypeABCMeta):
^
SyntaxError: invalid syntax
============
I'm using
carla 0.9.10.1
python 2
scenrario_runner 0.9.10
xmlschema==1.0.18
also the python manual_control.py in scenario_runner works but is waiting for ego
I can't run python scenario_runner.py --scenario FollowLeadingVehicle_1 --reloadWorld
It shows:
Traceback (most recent call last): File "scenario_runner.py", line 35, in
from srunner.scenarioconfigs.openscenario_configuration import OpenScenarioConfiguration
File "/home/ian/scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py", line 16, in
import xmlschema
File "/home/ian/.local/lib/python2.7/site-packages/xmlschema/init.py", line 15, in
from .resources import (
File "/home/ian/.local/lib/python2.7/site-packages/xmlschema/resources.py", line 14, in
from elementpath import iter_select, Selector, XPath1Parser
File "/home/ian/.local/lib/python2.7/site-packages/elementpath/init.py", line 23, in
from . import datatypes
File "/home/ian/.local/lib/python2.7/site-packages/elementpath/datatypes/init.py", line 20, in
from .atomic_types import xsd10_atomic_types, xsd11_atomic_types, AnyAtomicType
File "/home/ian/.local/lib/python2.7/site-packages/elementpath/datatypes/atomic_types.py", line 101
class AnyAtomicType(metaclass=AtomicTypeABCMeta):
^
SyntaxError: invalid syntax
============ I'm using
carla 0.9.10.1 python 2 scenrario_runner 0.9.10
xmlschema==1.0.18
also the python manual_control.py in scenario_runner works but is waiting for ego
How can I solve the error?
Thank you