-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant install cryptography for python. #2430
Comments
|
No i did not, after installing both with
|
run |
@vishalbiswas same error except this time it is: |
|
@vishalbiswas it works, thank you so much. |
@o-gourari i already installed both of them,but i still cant install cryptography Following error code : [email protected]:~#pip install cryptography WARNING: linker: Unsupported flags DT_FLAGS_1=0x8 WARNING: linker: Unsupported flags DT_FLAGS_1=0x8 Collecting cryptography Using cached https://files.pythonhosted.org/packages/22/21/233e38f74188db94e8451ef6385754a98f3cad9b59bedf3a8e8b14988be4/cryptography-2.3.1.tar.gz Requirement already satisfied: idna>=2.1 in /data/data/com.termux/files/usr/lib/python2.7/site-packages (from cryptography) (2.7) Requirement already satisfied: asn1crypto>=0.21.0 in /data/data/com.termux/files/usr/lib/python2.7/site-packages (from cryptography) (0.24.0) Requirement already satisfied: six>=1.4.1 in /data/data/com.termux/files/usr/lib/python2.7/site-packages (from cryptography) (1.11.0) Requirement already satisfied: cffi!=1.11.3,>=1.7 in /data/data/com.termux/files/usr/lib/python2.7/site-packages (from cryptography) (1.11.5) Last error : ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 28 warnings and 20 errors generated. error: command 'aarch64-linux-android-clang' failed with exit status 1 ---------------------------------------- Command "/data/data/com.termux/files/usr/bin/python2 -u -c "import setuptools, tokenize;file='/data/data/com.termux/files/usr/tmp/pip-install-z1YuE1/cryptography/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-record-sevm2_/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /data/data/com.termux/files/usr/tmp/pip-install-z1YuE1/cryptography/ What should i do? |
@XSecr3t that is not the actual error. The real error should be somewhere above the last error message |
I think is it errors,cause every i want install cryptography the colour of the text is red on last errors above |
@XSecr3t can you paste the whole output? |
This comment has been minimized.
This comment has been minimized.
Termux has upgraded to OpenSSL 1.1.1, but the cryptography package has not been upgraded yet. Checkout this issue -> pyca/cryptography#4197 |
@vishalbiswas |
I start rebuild my termux package from zero again and already install SSL that you give for me,but still isn't working bro, |
you have to install both openssl and openssl-dev, if you still get errors then post them as well |
Like this? Both of them already installed but still not working for me to install cryptography |
Collecting cryptography
error: can't find Rust compiler |
Anyone show me the solution of this error while installing cryptography |
@Avi-hs Just read the error message, it already provides a possible solution:
So
Resulting command will be |
When i try to install cryptography using pip i get an error:
Complete output from command python setup.py egg_info:
No working compiler found, or bogus compiler options passed to
the compiler from Python's standard "distutils" module. See
the error messages above. Likely, the problem is not related
to CFFI but generic to the setup.py of any Python package that
tries to compile C code. (Hints: on OS/X 10.8, for errors about
-mno-fused-madd see http://stackoverflow.com/questions/22313407/
Otherwise, see https://wiki.python.org/moin/CompLangPython or
the IRC channel #python on irc.freenode.net.)
The text was updated successfully, but these errors were encountered: