Install pycryptodomex on openwrt

hi,
i need to install pycryptodomex with command : pip install pycryptodomex
but it fails because of gcc
dev said i need to use precompiled bin...
in this page , do you know which precompiled file i have to must choose for openwrt ?

regards

Install where ?

Which dev ?

None of those archives appear to be made for a router.

ok, i resume :
i need this library https://github.com/Salamek/huawei-lte-api to read sms from a dongle huawei 5576 connect with USB on my openwrt router
when i install it on openwrt 24.10 with "pip install huawei-lte-api"
i fails about gcc, so i ask dev of huawei-lte-api and here is his response :

"pycryptodomex requires native libs to work and does not have pre-build wheel for your platform"
You can see list of pre-build wheels on https://pypi.org/project/pycryptodomex/#files section "Built Distributions" pip thinks that none of those matches your system, so it needs to build one from source."

Then you'll need to build it for Openwrt.

ok, but i don't understand why when i've installed this library on a openwrt raspberry pi i don't need to build it..(install only with command pip...)
and on a router Asus i need to build ?

1 Like

If you have x86(64) or aarch64 (like raspberry or filogic) you can get musslinux wheel installed.

correct, aarch64 openwrt closely matches alpine linux in this regard, but not other hw platforms.

1 Like

Different architectures...?

1 Like

ok it's clear now,
thank frollic, allways good issue...

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.