Ubuntu – Error while installing packages opensubmit ubuntu 14.04 LTS

error handlingpip

I am getting following error while installing following packages

https://github.com/troeger/opensubmit/wiki/Installation-Instructions

opensubmit-web configure

Command /usr/bin/python -c "import setuptools,
tokenize;file='/tmp/pip_build_ubuntu/pycrypto/setup.py';exec(compile(getattr(tokenize,
'open', open)(file).read().replace('\r\n', '\n'), file,
'exec'))" install –record /tmp/pip-f5Js12-record/install-record.txt
–single-version-externally-managed –compile failed with error code 1 in /tmp/pip_build_ubuntu/pycrypto
Storing debug log for failure in /home/ubuntu/.pip/pip.log

pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)

Best Answer

The error was removed by installing python-dev in Ubuntu 14.04. python-dev is a dependency of a package that is recommended by python-pip in Ubuntu 16.04. The package that is recommended by python-pip that has python-dev as a dependency is python-dev-all which is not available from the default repositories in Ubuntu 14.04.

sudo apt install python-dev
Related Question