Command “/usr/bin/python -u -c “import setuptools, tokenize;__file__=‘/tmp/pip-cus9V0-build/setup.py

Command “/usr/bin/python -u -c “import setuptools, tokenize;file=’/tmp/pip-cus9V0-build/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-Ebvaxk-record/install-record.txt –single-version-externally-managed –compile” failed with error code 1 in /tmp/pip-cus9V0-build/

Solution:
ubuntu

apt-get install python-dev

cents

yum install python-devel

It should be the lack of Python dev dependency when running Python lzop

Read More: