Bench installation problem

Hi,
I am facing problem during install bench.
When I run sudo pip install -e bench-repo then is showing

unable to execute gcc: No such file or directory
** error: command ‘gcc’ failed with exit status 1**


** ----------------------------------------**
Command “/usr/bin/python -u -c “import setuptools, tokenize;file=’/tmp/pip-build-cmMw_V/psutil/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-QIBOQl-record/install-record.txt --single-version-externally-managed --compile” failed with error code 1 in /tmp/pip-build-cmMw_V/psutil/

First install psutils package then install bench again

sudo pip install psutils

Try this:

sudo apt-get install gcc
sudo pip install psutils
sudo pip install -e bench-repo

1 Like