Esrally list tracks

I have installed esrally on an ec2 instance and I am running list tracks and encountering this error. Can someone assist?

esrally list tracks
Traceback (most recent call last):
File "/home/ec2-user/.local/bin/esrally", line 5, in
from esrally.rally import main
File "/home/ec2-user/.local/lib/python3.7/site-packages/esrally/rally.py", line 28, in
from esrally import version, actor, config, paths, racecontrol, reporter, metrics, track, chart_generator, exceptions,
File "/home/ec2-user/.local/lib/python3.7/site-packages/esrally/racecontrol.py", line 26, in
from esrally import actor, config, doc_link, driver, exceptions, mechanic, metrics, reporter, track, PROGRAM_NAME
File "/home/ec2-user/.local/lib/python3.7/site-packages/esrally/driver/init.py", line 19, in
from .driver import DriverActor, PrepareBenchmark, PreparationComplete, StartBenchmark, BenchmarkComplete, TaskFinished
File "/home/ec2-user/.local/lib/python3.7/site-packages/esrally/driver/driver.py", line 27, in
from esrally import actor, config, exceptions, metrics, track, client, paths, PROGRAM_NAME, telemetry
File "/home/ec2-user/.local/lib/python3.7/site-packages/esrally/track/init.py", line 18, in
from .loader import (
File "/home/ec2-user/.local/lib/python3.7/site-packages/esrally/track/loader.py", line 26, in
import jinja2
File "/home/ec2-user/.local/lib/python3.7/site-packages/jinja2/init.py", line 33, in
from jinja2.environment import Environment, Template
File "/home/ec2-user/.local/lib/python3.7/site-packages/jinja2/environment.py", line 15, in
from jinja2 import nodes
File "/home/ec2-user/.local/lib/python3.7/site-packages/jinja2/nodes.py", line 19, in
from jinja2.utils import Markup
File "/home/ec2-user/.local/lib/python3.7/site-packages/jinja2/utils.py", line 642, in
from markupsafe import Markup, escape, soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/ec2-user/.local/lib/python3.7/site-packages/markupsafe/init.py)

this worked!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.