I am getting following error while installing following packages


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)

  • 1
    You are getting this error when doing what? Turning on your machine? Logging in? Trying to run some program? What program? On what Ubuntu? Please edit your question and give us some information.
    – terdon
    Jan 17, 2017 at 9:27
  • @terdon see edits Jan 17, 2017 at 9:31
  • Are you installing something with pip? Using what command? What version of pip? What version of python? What version of Ubuntu? Can you install other packages with pip? You need to explain what you are doing. Don't assume we can guess or guess correctly.
    – terdon
    Jan 17, 2017 at 9:32
  • Can you post the log file mentioned in the error? /home/ubuntu/.pip/pip.log e.g. cat /home/ubuntu/.pip/pip.log. Also, which version of Ubuntu are you using? Jan 17, 2017 at 9:33
  • 3
    Possible duplicate of error while installing opensubmit ubuntu 14.04 LTS Jan 17, 2017 at 10:01

1 Answer 1


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
  • The error comes from a file access error (permission denied). He re-asked his question here. Jan 17, 2017 at 10:01
  • I am not the asker. Yes, that command returns the error. Just follow the link I embedded in my previous comment. Jan 17, 2017 at 10:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .