-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
How to install cryptography from wheel on armhf #6342
Comments
We do not produce wheels for 32bit arm, only arm64.
בתאריך יום ה׳, 30 בספט׳ 2021, 10:04, מאת Pēteris Caune <
***@***.***>:
… Is it possible to install cryptography on ARM system from wheel?
My hardware is Raspberry Pi 400, and I'm running my experiments from
inside Docker:
docker run -it python:3.9-slim-buster bash
Software versions:
***@***.***:/tmp# uname -a
Linux 3d5804a8efb0 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux
***@***.***:/tmp# python --version
Python 3.9.7
***@***.***:/tmp# pip --version
pip 21.2.4 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)
If I just run pip install cryptography it tries to build cryptography
from source. Installation fails because rust is missing. I installed rust:
apt-get install build-essential libssl-dev libffi-dev python3-dev cargo
After this, pip install cryptography takes a long time but eventually
completes with no errors.
The rust requirement and the long build time could be avoided by using
binary wheel. Does cryptography have a wheel that would work on armv7l,
Linux and python 3.9? If yes, how can I make pip use it? Thanks in advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6342>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGBANXDE3AHXFDB5DWOLUERU5PANCNFSM5FCNPQYQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Thanks, OK, so there's no magic combination of pip options to make it work ;-) Would you consider adding 32bit arm builds to the build system? |
The BCM2711 in your Raspberry Pi 400 should support aarch64. |
(Comment from my work account) We're not going to consider 32-bit ARM at the moment, no: #6286 |
OK, understood. Thanks for the pointer, and for the quick replies! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it possible to install cryptography on ARM system from wheel?
My hardware is Raspberry Pi 400, and I'm running my experiments from inside Docker:
Software versions:
If I just run
pip install cryptography
it tries to build cryptography from source. Installation fails because rust is missing. I installed rust:After this,
pip install cryptography
takes a long time but eventually completes with no errors.The rust requirement and the long build time could be avoided by using binary wheel. Does cryptography have a wheel that would work on armhf, Linux and python 3.9? If yes, how can I make pip use it? Thanks in advance!
The text was updated successfully, but these errors were encountered: