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 '17 at 9:27
  • @terdon see edits – Oludare Fajimolu Jan 17 '17 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 '17 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? – FatalMerlin Jan 17 '17 at 9:33
  • 3
    Possible duplicate of error while installing opensubmit ubuntu 14.04 LTS – FatalMerlin Jan 17 '17 at 10:01

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

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.