-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
except subprocess.CalledProcessError, err: #1530
Comments
YCSB is not updated for Python 3. Please use Python 2 or apply fixes such as #1421 (I personally haven't tested it yet). |
However, I got the same error with python2.7
my python version is |
check which version of python is returned by the way ycsb defaults python: |
Hi Sean,
please use ./bin/ycsb.sh instead of ./bin/ycsb
The above works for me.
Thanks
Mukti
…On Tue, Oct 11, 2022 at 9:14 PM Sean Busbey ***@***.***> wrote:
check which version of python is returned by the way ycsb defaults python: /usr/bin/env
python or expressly call python 2.7 and give it the path to bin/ycsb as
the script to run.
—
Reply to this email directly, view it on GitHub
<#1530 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIZA7V6LLLQ4YPJNLOGDXRDWCWDOHANCNFSM422L5C2Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
thank you very much, It works. |
While loading redis I am getting this error:
./bin/ycsb load redis -s -P workloads/workloada -p "redis.host=127.0.0.1" -p "redis.port=6379"
File "./bin/ycsb", line 223
except subprocess.CalledProcessError, err:
^
SyntaxError: invalid syntax
Can anyone help me to fix?
I am using Python 3.8.5 and javac 11.0.10
The text was updated successfully, but these errors were encountered: