YCSB icon indicating copy to clipboard operation
YCSB copied to clipboard

SyntaxError: multiple exception types must be parenthesized when running on c6g or c7g instance

Open mericas opened this issue 3 years ago • 1 comments

When running on a AWS c6g or c7g instance under ubuntu 22.04 I get the following error when invoking ycsb:

./bin/ycsb load  redis -s -P workloads/workloada -p "redis.host=127.0.0.1" -p "redis.port=6379"
  File "/data/benchmark/ycsb-0.17.0/./bin/ycsb", line 228
    except subprocess.CalledProcessError, err:
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized

mericas avatar Jul 28 '22 21:07 mericas

your python version is incorrect. we don't have python 3 support yet. (though IIRC we are in the final phase of getting one of the outstanding PRs with python 3 support added)

busbey avatar Aug 08 '22 15:08 busbey