Skip to content
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

Failed building wheel for Cryptography - Termux #7248

Closed
13Quavo opened this issue May 22, 2022 · 5 comments
Closed

Failed building wheel for Cryptography - Termux #7248

13Quavo opened this issue May 22, 2022 · 5 comments

Comments

@13Quavo
Copy link

13Quavo commented May 22, 2022

Hi,

I'm having problems installing Cryptography. I'm on Python version 3.10.4
When I run the command pip install cryptography error : Failed building wheel for cryptography appears.

Any solutions? Thank you

@reaperhulk
Copy link
Member

You have provided nothing we can use to understand what you might be seeing or reproduce the problem. However, there are several closed issues in this repository for "termux" which may be useful to you as you debug this. It is highly probable that you are missing compilers, headers, or environment variables needed to successfully compile.

@13Quavo
Copy link
Author

13Quavo commented May 22, 2022

You have provided nothing we can use to understand what you might be seeing or reproduce the problem. However, there are several closed issues in this repository for "termux" which may be useful to you as you debug this. It is highly probable that you are missing compilers, headers, or environment variables needed to successfully compile.

Hi Paul,

Thank you for your response.
This is the full code https://pastebin.com/1WqCyRhz

@alex
Copy link
Member

alex commented May 22, 2022

I'd recommend trying the fix suggested by one of the commenters in #6679

@reaperhulk
Copy link
Member

error: Don't know the correct rust target for system type aarch64-unknown-linux-android. Please set the CARGO_BUILD_TARGET environment variable the fix for this is contained in #6679 (specifically CARGO_BUILD_TARGET=aarch64-linux-android)

@13Quavo
Copy link
Author

13Quavo commented May 22, 2022

Thank you!

@13Quavo 13Quavo closed this as completed May 22, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants