pyca / cryptography

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
https://cryptography.io
Other
6.66k stars 1.53k forks source link

ERROR: Failed building wheel for cryptography #7284

Closed trankhanhhiep123 closed 2 years ago

trankhanhhiep123 commented 2 years ago

i'm installing routersploit but it needs to install cryptography package but it has a lot of errors i tried to find a way to fix it but couldn't do it help me as fast as possible machine :32bit termux:armv8l Screenshot_20220528-165403_Termux Screenshot_20220528-182359_Termux

alex commented 2 years ago

I'm not familiar with termux, but https://github.com/pyca/cryptography/issues/6679 contains information on how someone else resolved this.

reaperhulk commented 2 years ago

Something about the termux environment results in rust being unable to determine the proper build triple. Setting CARGO_BUILD_TARGET=aarch64-linux-android in your environment for aarch64 or CARGO_BUILD_TARGET=arm-linux-androideabi for 32-bit arm will hopefully work, but we strongly encourage people to report this upstream so that these environments autodetect properly.