Giter VIP home page Giter VIP logo

Comments (6)

 avatar commented on June 10, 2024

i got the same error, but it was because i did not install the python2 developer tools:

Linux installation requires the Python developer tools to be installed. These
can be found in the python-dev package on Debian/Ubuntu and the
python2-devel package on Red Hat/Fedora. If you are using a non-standard
Python version for your distribution, you may require a different package.
Consult your package manager's documentation for instructions on how to
install these packages. Other distributions may have different package names.

try installing the tools and attempting install again.

from pycrypto.

rowlandski avatar rowlandski commented on June 10, 2024

I updated Python and then installed Pycrypto and used sudo.... all went in and work.

Let me know how you get on.

from pycrypto.

 avatar commented on June 10, 2024

i think i was unclear in my last comment. it installed successfully for me after i installed the python2-devel package (running fed21) 👍 glad you were able to get it working.

from pycrypto.

LotosikRa avatar LotosikRa commented on June 10, 2024

I got small different error:

src/MD2.c:31:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 

    ----------------------------------------
Command "/home/<>/PycharmPtojects/backend/ENV/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-12mimz6t/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-81oq9vr1-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/<>/PycharmPtojects/backend/ENV/include/site/python3.4/pycrypto" failed with error code 1 in /tmp/pip-build-12mimz6t/pycrypto/

I have running python on Ubuntu 14.04 inside VirtualBox on Ubuntu 12.04

And I'm using python3. But I still need python2-devel to resolve this problem?

from pycrypto.

LotosikRa avatar LotosikRa commented on June 10, 2024

My PyCharm don't know anything about python2-devel package. And pip too.

from pycrypto.

LotosikRa avatar LotosikRa commented on June 10, 2024

Answer from Stack Overflow

from pycrypto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.