Comments (6)
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 thepython-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.
I updated Python and then installed Pycrypto and used sudo.... all went in and work.
Let me know how you get on.
from pycrypto.
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.
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.
My PyCharm don't know anything about python2-devel
package. And pip
too.
from pycrypto.
from pycrypto.
Related Issues (20)
- time.clock() is deprecated as of 3.8+ HOT 1
- PHP OpenSSL issues HOT 1
- time.clock() no longer supported in python3.8 HOT 3
- Unable to install HOT 2
- `py setup.py build` error HOT 2
- pycrypto fails to install with pip on macos 11.0.1 HOT 2
- Pycrypto build errors
- I can't install, gives an error message Help me please HOT 5
- No module named 'winrandom' HOT 2
- time.clock has been depreciated since python3.3 HOT 2
- SyntaxError: invalid syntax on installation of PyCrypto HOT 3
- "AES.MODE_GCM" get Segmentation fault
- Error while installing HOT 2
- error while running Crypto.SelfTest HOT 1
- Installation had exit status 1
- how to resolve the build error? HOT 1
- Error while installing via pip in vscode terminal
- Increase the usage of augmented assignment statements
- incompatibility with setuptools >= 58.0.0 HOT 3
- AES Breaking change with Python 3.10 "PY_SSIZE_T_CLEAN macro must be defined"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycrypto.