# Failed to build cryptography while either updating or installing sabnzbd

**URL:** https://dietpi.com/forum/t/failed-to-build-cryptography-while-either-updating-or-installing-sabnzbd/15048
**Category:** Troubleshooting
**Created:** [23 November 2022 21:03 UTC](https://dietpi.com/forum/t/failed-to-build-cryptography-while-either-updating-or-installing-sabnzbd/15048 "2022-11-23T21:03:08Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [23 November 2022 23:16 UTC](https://dietpi.com/forum/t/failed-to-build-cryptography-while-either-updating-or-installing-sabnzbd/15048/2 "2022-11-23T23:16:54Z")

</div>

on 32bit we use pre-compiled wheels provided by [piwheels.org](http://piwheels.org). Unfortunately, latest build has been failed there. [piwheels - cryptography](https://www.piwheels.org/project/cryptography/)

Therefore you have issues to set it up.

Bad thing, `cryptography==38.0.3` is explicitly require by Sabnzbd

> <https://github.com/sabnzbd/sabnzbd/blob/9a4d56e4e11fcf97985c27474b53babd7cd77d03/requirements.txt#L33>

As a workaround you could try to install Rust + other dependency (required by cryptography) by your own. But it is quite a large build

```auto
curl -sSfL 'https://sh.rustup.rs' -o rustup-init.sh
chmod +x rustup-init.sh
./rustup-init.sh -y --profile minimal
rm rustup-init.sh
source "$HOME/.cargo/env"
dietpi-software install 16 130
apt install libffi-dev libssl-dev
pip3 install cryptography
dietpi-software install 139

```

---

_[View the full topic](https://dietpi.com/forum/t/failed-to-build-cryptography-while-either-updating-or-installing-sabnzbd/15048)._
