-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Hello,
Could someone help me to fix the issue I am facing while trying to use chainhammer for performance measurement of a quorum network using a vagrant-based 7nodes example. The following is the message shown when I run ./script/install.sh and virtualenv -p python3 py3eth commands.
----------------------------- ./scripts/install.sh --------------------------
vagrant@ubuntu-xenial:~/CH$ ./scripts/install.sh
=========================================
Install ChainHammer dependencies, and clone network starter repos
version v59
Please report any issues IF this script is NOT ending with:
... with exit code 0.
Warning: No guarantees!!
Executing this script has consequences for this machine.
Better only use on a disposable/cloud/virtualbox machine,
and NOT on your main work machine!!
Is this the "chainhammer" folder where you want everything installed?
/home/vagrant/CH
Press enter to continue
must install some tools on system level, please input your sudo password:
scripts/install-docker-compose.sh scripts/install-geth.sh scripts/install-initialize.sh scripts/install-packages.sh scripts/install-virtualenv.sh
scripts/install-docker.sh scripts/install-go.sh scripts/install-network-starters.sh scripts/install-solc.sh
got sudo, thanks.
========================================
scripts/install-packages.sh
sudo apt-get update
Hit:1 https://deb.nodesource.com/node_12.x xenial InRelease
Hit:2 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 109 kB in 1s (66.0 kB/s)
Reading package lists... Done
installing wget htop jq apt-transport-https ca-certificates wget software-properties-common python3-pip python3-venv libssl-dev expect-dev dbus-x11 terminator build-essential automake libtool pkg-config libffi-dev python-dev libsecp256k1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'expect' instead of 'expect-dev'
E: Unable to locate package libsecp256k1-dev
"echo got sudo, thanks." command filed with exit code 0.
--------------------------------------virtualenv -p python3 py3eth --------------------------
vagrant@ubuntu-xenial:~/CH$ virtualenv -p python3 py3eth
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 7, in
from virtualenv.main import run_with_catch
File "/usr/local/lib/python3.5/dist-packages/virtualenv/init.py", line 3, in
from .run import cli_run, session_via_cli
File "/usr/local/lib/python3.5/dist-packages/virtualenv/run/init.py", line 13, in
from .plugin.activators import ActivationSelector
File "/usr/local/lib/python3.5/dist-packages/virtualenv/run/plugin/activators.py", line 6, in
from .base import ComponentBuilder
File "/usr/local/lib/python3.5/dist-packages/virtualenv/run/plugin/base.py", line 9, in
from importlib_metadata import entry_points
File "/usr/local/lib/python3.5/dist-packages/importlib_metadata/init.py", line 88
dist: Optional['Distribution'] = None
^
SyntaxError: invalid syntax