File tree Expand file tree Collapse file tree 6 files changed +21
-10
lines changed Expand file tree Collapse file tree 6 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 22
33echo ' installing driver...'
44sudo apt update -y
5- sudo apt install -y python3-pip
6- python3 -m pip install pymongo
7- echo ' installing driver done'
5+ sudo apt install -y python3-pip python3-venv
6+ if [ ! -x venv]; then python3 -m venv venv; fi
7+ . venv/bin/activate
8+ pip install pymongo
9+ echo ' installing driver done'
Original file line number Diff line number Diff line change 11set -eu
22
3- sudo apt install -y python3-pip
3+ sudo apt update -y
4+ sudo apt install -y python3-pip python3-venv
5+ if [ ! -x venv]; then python3 -m venv venv; fi
6+ . venv/bin/activate
47pip install neo4j
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ tool/ovh/clone-repo.sh $(git rev-parse HEAD)
3636tool/ovh/ssh-exec.sh " 'cd typedb-benchmark && tool/$DB /setup.sh'"
3737
3838tool/ovh/ssh-exec.sh " '
39- cd typedb-benchmark &&
39+ cd typedb-benchmark && . venv/bin/activate &&
4040 nohup tool/execute-tpcc.sh --no-execute --reset --scalefactor=$SCALE_FACTOR --warehouses=$WAREHOUSES --clients=$CLIENTS --duration=$DURATION $DB & wait \$ !
4141 '"
4242
4343tool/ovh/ssh-exec.sh " '
44- cd typedb-benchmark &&
44+ cd typedb-benchmark && . venv/bin/activate &&
4545 nohup tool/execute-tpcc.sh --no-load --scalefactor=$SCALE_FACTOR --warehouses=$WAREHOUSES --clients=$CLIENTS --duration=$DURATION $DB & wait \$ !
4646 '"
4747
Original file line number Diff line number Diff line change 22
33echo ' installing driver...'
44sudo apt update -y
5- sudo apt install -y python3-pip
5+ sudo apt install -y python3-pip python3-venv
6+ if [ ! -x venv]; then python3 -m venv venv; fi
7+ . venv/bin/activate
68pip install psycopg2-binary
79echo ' installing driver done'
Original file line number Diff line number Diff line change 33source tool/typedb2/config.sh
44
55sudo apt update -y
6- sudo apt install -y python3-pip
7- pip install typedb-driver==" $DRIVER_VERSION "
6+ sudo apt install -y python3-pip python3-venv
7+ if [ ! -x venv]; then python3 -m venv venv; fi
8+ . venv/bin/activate
9+ pip install typedb-driver==" $DRIVER_VERSION "
Original file line number Diff line number Diff line change 33source tool/typedb3/config.sh
44
55sudo apt update -y
6- sudo apt install -y python3-pip
6+ sudo apt install -y python3-pip python3-venv
7+ if [ ! -x venv]; then python3 -m venv venv; fi
8+ . venv/bin/activate
79pip install typedb-driver==" $DRIVER_VERSION " --extra-index-url https://repo.typedb.com/public/public-snapshot/python/simple/
You can’t perform that action at this time.
0 commit comments