Sabnzbd Installation fails - Distutils/Setuptools Error

Hi guys,
desperately looking for help! I just wanted to update all my software (Dietpi, Sonarr, Sabnzbd) - because it’s a new year and all - and I have failed miserably.

When trying to install Sabnzbd (I uninstalled it earlier when I tried a “fix”) I get this error:

 - Command: python3 ./get-pip.py                                                                                  │
│  - Exit code: 1                                                                                                   │
│  - DietPi version: v7.9.3 (MichaIng/master) | HW_MODEL: 4 | HW_ARCH: 2 | DISTRO: 5                                │
│  - Image creator: DietPi Core Team                                                                                │
│  - Pre-image: Raspberry Pi OS (32-bit) Lite                                                                       │
│  - Error log:                                                                                                     │
│ /usr/local/lib/python3.7/dist-packages/_distutils_hack/__init__.py:25: UserWarning: Distutils was imported before │
│ Setuptools, but importing Setuptools also replaces the `distutils` module in `sys.modules`. This may lead to      │
│ undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is │
│ installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always       │
│ imported before distutils.                                                                                        │
│   "Distutils was imported before Setuptools, but importing Setuptools "                                           │
│ /usr/local/lib/python3.7/dist-packages/_distutils_hack/__init__.py:36: UserWarning: Setuptools is replacing       │
│ distutils.                                                                                                        │
│   warnings.warn("Setuptools is replacing distutils.")                                                             │
│ Traceback (most recent call last):                                                                                │
│   File "./get-pip.py", line 27081, in <module>                                                                    │
│     main()                                                                                                        │
│   File "./get-pip.py", line 139, in main                                                                          │
│     bootstrap(tmpdir=tmpdir)                                                                                      │
│   File "./get-pip.py", line 120, in bootstrap                                                                     │
│     args = determine_pip_install_arguments()                                                                      │
│   File "./get-pip.py", line 65, in determine_pip_install_arguments                                                │
│     import setuptools  # noqa                                                                                     │
│   File "/usr/local/lib/python3.7/dist-packages/setuptools/__init__.py", line 8, in <module>                       │
│     import _distutils_hack.override  # noqa: F401                                                                 │
│   File "/usr/local/lib/python3.7/dist-packages/_distutils_hack/override.py", line 1, in <module>                  │
│     __import__('_distutils_hack').do_override()                                                                   │
│   File "/usr/local/lib/python3.7/dist-packages/_distutils_hack/__init__.py", line 73, in do_override              │
│     ensure_local_distutils()                                                                                      │
│   File "/usr/local/lib/python3.7/dist-packages/_distutils_hack/__init__.py", line 61, in ensure_local_distutils   │
│     assert '_distutils' in core.__file__, core.__file__                                                           │
│ AssertionError: /usr/lib/python3.7/distutils/core.py

I think I upgraded Python and stuff but…I am honestly pretty lost by now…

If you need any additional information, please let me know how to provide it as well. I am fairly wonky when it comes to everything related to Linux…obviously…

This is a known issue with latest Setuptools version https://github.com/MichaIng/DietPi/issues/5117

A permanent fix will become available in next version DietPi v8

A workaround could be following before trying to install/reinstall Pyton

pip3 uninstall setuptools -y

Sh*t…I did use the search function! I promise…

Anyway, thank you for your help.

So I should try uninstalling Setuptools?
LIke so:
pip3 uninstall setuptools -y

Hell, I will give that a whirl, can’t get worse. Will report back!

UPDATE: no luck - uninstalled Setuptools and Python, so now I have:

dietpi-software list | grep "=2 "
ID 16 | =2 | Build-Essential: GNU C/C++ compiler, development libraries and headers |
ID 87 | =2 | SQLite: Persistent single-file database system | | https://dietpi.com/docs/software/databases/#sqlite
ID 94 | =2 | ProFTPD: Efficient, lightweight FTP server | | https://dietpi.com/docs/software/file_servers/#proftpd
ID 96 | =2 | Samba Server: Feature-rich SMB/CIFS server | | https://dietpi.com/docs/software/file_servers/#samba
ID 103 | =2 | DietPi-RAMlog: Makes /var/log a RAM disk, preserves file structure on reboot | | https://dietpi.com/docs/software/log_system/#dietpi-ramlog
ID 104 | =2 | Dropbear: Lightweight SSH server | | https://dietpi.com/docs/software/ssh/#dropbear
ID 109 | =2 | NFS Server: Network File System server | | https://dietpi.com/docs/software/file_servers/#nfs
ID 144 | =2 | Sonarr: automatically download TV shows | +SQLite +Mono | https://dietpi.com/docs/software/bittorrent/#sonarr
ID 145 | =2 | Radarr: automatically download movies | +SQLite | https://dietpi.com/docs/software/bittorrent/#radarr
ID 150 | =2 | Mono: Runtime libraries and repository |
ID 170 | =2 | UnRAR: unarchiver for .rar files |

Installing Sabnzbd (or Python) gives me:

 - Command: python3 ./get-pip.py
│  - Exit code: 1
│  - DietPi version: v7.9.3 (MichaIng/master) | HW_MODEL: 4 | HW_ARCH: 2 | DISTRO: 5
│  - Image creator: DietPi Core Team
│  - Pre-image: Raspberry Pi OS (32-bit) Lite
│  - Error log:
│ /usr/local/lib/python3.7/dist-packages/_distutils_hack/__init__.py:25: UserWarning: Distutils was
│ imported before Setuptools, but importing Setuptools also replaces the `distutils` module in
│ `sys.modules`. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using
│ distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable
│ install), and/or make sure that setuptools is always imported before distutils.
│   "Distutils was imported before Setuptools, but importing Setuptools "
│ /usr/local/lib/python3.7/dist-packages/_distutils_hack/__init__.py:36: UserWarning: Setuptools is
│ replacing distutils.
│   warnings.warn("Setuptools is replacing distutils.")
│ Traceback (most recent call last):
│   File "./get-pip.py", line 27081, in <module>
│     main()
│   File "./get-pip.py", line 139, in main
│     bootstrap(tmpdir=tmpdir)
│   File "./get-pip.py", line 120, in bootstrap
│     args = determine_pip_install_arguments()
│   File "./get-pip.py", line 65, in determine_pip_install_arguments
│     import setuptools  # noqa
│   File "/usr/local/lib/python3.7/dist-packages/setuptools/__init__.py", line 8, in <module>
│     import _distutils_hack.override  # noqa: F401
│   File "/usr/local/lib/python3.7/dist-packages/_distutils_hack/override.py", line 1, in <module>
│     __import__('_distutils_hack').do_override()
│   File "/usr/local/lib/python3.7/dist-packages/_distutils_hack/__init__.py", line 73, in do_override
│     ensure_local_distutils()

I am getting a headache now…

Ok, this seems to be the problem now:

 =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation/ for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq/
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation/#rust

      Python: 3.7.3
      platform: Linux-5.10.63-v7l+-armv7l-with-debian-10.11
      pip: 21.3.1
      setuptools: 60.2.0
      setuptools_rust: 1.1.2
      =============================DEBUG ASSISTANCE=============================

  error: can't find Rust compiler

  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

  To update pip, run:

      pip install --upgrade pip

  and then retry package installation.

  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

  This package requires Rust >=1.41.0.
  ----------------------------------------
  ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

you are still running a Buster system, correct?

try following

sudo pip3 install cryptography==36.0.0
pip3 uninstall setuptools -y

Install Sabnzbd again

pls post the entire log if there is an error again. Not just parts.

Good morning and thank you for your continued help.
I previously only updatet DietPi through the built in updater but have now realized that I am still on buster!
(echo $G_DISTRO_NAME → buster)
So, sorry about that, I will upgrade manually as described here, correct?

Anyway, for science I tried your tips and copied EVERYTHING from the first error on.
(Full disclosure, I had allready installed cryptography 35.0 myself, so that was just a small update, which completed successfully, I already tried installing Rust, which the Error mentions, and I am on Pip3)


Building wheels for collected packages: cryptography
  Building wheel for cryptography (pyproject.toml): started
  Building wheel for cryptography (pyproject.toml): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/           pep517/in_process/_in_process.py build_wheel /tmp/tmpxz7laq8k
       cwd: /tmp/pip-install-n5cc9y9j/cryptography_2e9b8e3c0234474096b44a87ed827           3a4
  Complete output (157 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv7l-3.7
  creating build/lib.linux-armv7l-3.7/cryptography
  copying src/cryptography/utils.py -> build/lib.linux-armv7l-3.7/cryptography
  copying src/cryptography/fernet.py -> build/lib.linux-armv7l-3.7/cryptography
  copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-3.7/cryptogra           phy
  copying src/cryptography/__init__.py -> build/lib.linux-armv7l-3.7/cryptograph           y
  copying src/cryptography/__about__.py -> build/lib.linux-armv7l-3.7/cryptograp           hy
  creating build/lib.linux-armv7l-3.7/cryptography/x509
  copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-3.7/cryptograph           y/x509
  copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-3.7/cryptograp           hy/x509
  copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-3.7/cryptograp           hy/x509
  copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-3.7/cr           yptography/x509
  copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-3.7/cryp           tography/x509
  copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-a           rmv7l-3.7/cryptography/x509
  copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-3.7/cryptograp           hy/x509
  copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-3.7/crypto           graphy/x509
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-3.7/cryptogr           aphy/hazmat
  copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-3.7/cryp           tography/hazmat
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv           7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7           l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7           l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-3           .7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l           -3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux           -armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-3           .7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linu           x-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.li           nux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-a           rmv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv           7l-3.7/cryptography/hazmat/primitives
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings
  copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l           -3.7/cryptography/hazmat/bindings
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-armv           7l-3.7/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l           -3.7/cryptography/hazmat/backends
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linu           x-armv7l-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linu           x-armv7l-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.           linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serializati           on
  copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.l           inux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib           .linux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/li           b.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.           linux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/           lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-a           rmv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-ar           mv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-ar           mv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-arm           v7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv           7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux           -armv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-           armv7l-3.7/cryptography/hazmat/primitives/kdf
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux           -armv7l-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-           armv7l-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.           linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-           armv7l-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.li           nux-armv7l-3.7/cryptography/hazmat/primitives/ciphers
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.lin           ux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.l           inux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.li           nux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.li           nux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linu           x-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.           linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.li           nux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.           linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux           -armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linu           x-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux           -armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib           .linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux           -armv7l-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.           linux-armv7l-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linu           x-armv7l-3.7/cryptography/hazmat/bindings/openssl
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-ar           mv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-ar           mv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-           armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-a           rmv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-arm           v7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linu           x-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-ar           mv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-           armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.l           inux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-a           rmv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux           -armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv           7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-arm           v7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv           7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.l           inux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-ar           mv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux           -armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux           -armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-ar           mv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linu           x-armv7l-3.7/cryptography/hazmat/backends/openssl
  running egg_info
  no previously-included directories found matching 'docs/_build'
  warning: no previously-included files found matching 'vectors'
  warning: no previously-included files matching '*' found under directory 'vect           ors'
  warning: no previously-included files matching '*' found under directory '.git           hub'
  warning: no previously-included files found matching 'release.py'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching 'codecov.yml'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'dev-requirements.txt'
  warning: no previously-included files found matching 'tox.ini'
  warning: no previously-included files found matching 'mypy.ini'
  warning: no previously-included files matching '*' found under directory '.zuu           l.d'
  warning: no previously-included files matching '*' found under directory '.zuu           l.playbooks'
  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  copying src/cryptography/py.typed -> build/lib.linux-armv7l-3.7/cryptography
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux           -armv7l-3.7/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-arm           v7l-3.7/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-arm           v7l-3.7/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-arm           v7l-3.7/cryptography/hazmat/bindings/_rust
  running build_ext

      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation/ for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq/
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation/#rust

      Python: 3.7.3
      platform: Linux-5.10.63-v7l+-armv7l-with-debian-10.11
      pip: 21.3.1
      setuptools: 60.2.0
      setuptools_rust: 1.1.2
      =============================DEBUG ASSISTANCE=============================

  error: can't find Rust compiler

  If you are using an outdated pip version, it is possible a prebuilt wheel is a           vailable for this package but pip is not able to install from it. Installing fro           m the wheel would avoid the need for a Rust compiler.

  To update pip, run:

      pip install --upgrade pip

  and then retry package installation.

  If you did intend to build this package from source, try installing a Rust com           piler from your system package manager and ensure it is on the PATH during insta           llation. Alternatively, rustup (available at https://rustup.rs) is the recommend           ed way to download and update the Rust compiler toolchain.

  This package requires Rust >=1.41.0.
  ----------------------------------------
  ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyp           roject.toml-based projects
[FAILED] DietPi-Software | pip3 install --no-cache-dir -Ur requirements.txt

RPi 4 Model B (armv7l) | IP: 192.168.178.75 | Use up/down buttons to scroll text
│  - Command: pip3 install --no-cache-dir -Ur requirements.txt
│  - Exit code: 1
│  - DietPi version: v7.9.3 (MichaIng/master) | HW_MODEL: 4 | HW_ARCH: 2 |
│ DISTRO: 5
│  - Image creator: DietPi Core Team
│  - Pre-image: Raspberry Pi OS (32-bit) Lite
│  - Error log:
│ Looking in indexes: https://pypi.org/simple,
│ https://www.piwheels.org/simple/
│ Ignoring pywin32: markers 'sys_platform == "win32"' don't match your
│ environment
│ Ignoring pyobjc: markers 'sys_platform == "darwin"' don't match your
│ environment
│ Collecting sabyenc3>=4.0.0
│   Downloading

would be really great to get the entire log from installation and not only the part of the error. Would be good to see which version of cryptography is required.

Ok, this is literally EVERYTHING:

root@DietPi:~# dietpi-software
[  OK  ] DietPi-Software | Initialised database
[  OK  ] DietPi-Software | Reading database
[  OK  ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for conflicts and missing inputs


 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for prerequisite software

[ INFO ] DietPi-Software | Python 3 will be installed
[ INFO ] DietPi-Software | UnRAR will be reinstalled
[  OK  ] DietPi-Software | Checking network connectivity
[  OK  ] DietPi-Software | Checking DNS resolver
[  OK  ] Network time sync | Completed
[ SUB1 ] DietPi-Services > unmask
[  OK  ] DietPi-Services | unmask : proftpd
[  OK  ] DietPi-Services | unmask : nmbd
[  OK  ] DietPi-Services | unmask : smbd
[  OK  ] DietPi-Services | unmask : nfs-kernel-server
[  OK  ] DietPi-Services | unmask : nzbget
[  OK  ] DietPi-Services | unmask : sonarr
[  OK  ] DietPi-Services | unmask : radarr
[  OK  ] DietPi-Services | unmask : docker
[  OK  ] DietPi-Services | unmask : cron
[ SUB1 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : docker
[  OK  ] DietPi-Services | stop : radarr
[  OK  ] DietPi-Services | stop : sonarr
[  OK  ] DietPi-Services | stop : nzbget
[  OK  ] DietPi-Services | stop : nfs-kernel-server
[  OK  ] DietPi-Services | stop : smbd
[  OK  ] DietPi-Services | stop : nmbd
[  OK  ] DietPi-Services | stop : proftpd
[ INFO ] DietPi-Software | APT update, please wait...
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:2 https://download.docker.com/linux/raspbian buster InRelease
Hit:3 https://download.mono-project.com/repo/debian raspbianbuster InRelease
Get:4 https://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Hit:5 https://apt.sonarr.tv/debian buster InRelease
Get:6 https://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB]
Fetched 441 kB in 3s (150 kB/s)
Reading package lists...
[  OK  ] DietPi-Software | APT update
[  OK  ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt /usr/local/bin
[  OK  ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[  OK  ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing Python 3: Runtime system, pip package installer and development headers

[  OK  ] DietPi-Software | Checking URL: https://bootstrap.pypa.io/pip/get-pip.py
[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[ INFO ] DietPi-Software | G_THREAD_START_0 | curl -sSfL https://bootstrap.pypa.io/pip/get-pip.py -o get-pip.py
[ INFO ] DietPi-Software | APT install for: python3-dev, please wait...
[  OK  ] DietPi-Software | APT install for: python3-dev
[  OK  ] DietPi-Software | G_THREAD: All threads finished
[ INFO ] DietPi-Software | python3 ./get-pip.py, please wait...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple/
Collecting pip
  Using cached https://www.piwheels.org/simple/pip/pip-21.3.1-py3-none-any.whl (1.7 MB)
Collecting setuptools
  Using cached https://www.piwheels.org/simple/setuptools/setuptools-60.2.0-py3-none-any.whl (953 kB)
Installing collected packages: setuptools, pip
  Attempting uninstall: pip
    Found existing installation: pip 21.3.1
    Uninstalling pip-21.3.1:
      Successfully uninstalled pip-21.3.1
Successfully installed pip-21.3.1 setuptools-60.2.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[  OK  ] DietPi-Software | python3 ./get-pip.py
[  OK  ] DietPi-Software | rm get-pip.py

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing UnRAR: unarchiver for .rar files

[  OK  ] DietPi-Software | Checking URL: https://dietpi.com/downloads/binaries/rpi/unrar-armhf-buster.deb
[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[  OK  ] DietPi-Software | curl -sSfL https://dietpi.com/downloads/binaries/rpi/unrar-armhf-buster.deb -o unrar-armhf-buster.deb
[ INFO ] DietPi-Software | APT install for: ./unrar-armhf-buster.deb, please wait...
[  OK  ] DietPi-Software | APT install for: ./unrar-armhf-buster.deb
[  OK  ] DietPi-Software | rm unrar-armhf-buster.deb

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing SABnzbd: nzb download manager

[  OK  ] DietPi-Software | Checking URL: https://github.com/sabnzbd/sabnzbd/archive/master.tar.gz
[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[ INFO ] DietPi-Software | G_THREAD_START_0 | curl -sSfL https://github.com/sabnzbd/sabnzbd/archive/master.tar.gz -o master.tar.gz
[ INFO ] DietPi-Software | APT install for: par2 p7zip-full, please wait...
[  OK  ] DietPi-Software | APT install for: par2 p7zip-full
[  OK  ] DietPi-Software | G_THREAD: All threads finished
[  OK  ] DietPi-Software | tar xf master.tar.gz
[  OK  ] DietPi-Software | rm master.tar.gz
[  OK  ] DietPi-Software | rm -R /etc/sabnzbd
[  OK  ] DietPi-Software | mv sabnzbd-master /etc/sabnzbd
[  OK  ] DietPi-Software | cd /etc/sabnzbd
[ INFO ] DietPi-Software | pip3 install --no-cache-dir -Ur requirements.txt, please wait...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple/
Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment
Ignoring pyobjc: markers 'sys_platform == "darwin"' don't match your environment
Collecting sabyenc3>=4.0.0
  Downloading https://www.piwheels.org/simple/sabyenc3/sabyenc3-4.0.2-cp37-cp37m-linux_armv7l.whl (27 kB)
Requirement already satisfied: cheetah3>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 2)) (3.2.6.post1)
Requirement already satisfied: cryptography in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 3)) (36.0.0)
Collecting cryptography
  Downloading cryptography-36.0.1.tar.gz (572 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: feedparser>=6.0.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 4)) (6.0.8)
Requirement already satisfied: configobj in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 5)) (5.0.6)
Requirement already satisfied: cheroot in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 6)) (8.5.2)
Collecting cheroot
  Downloading https://www.piwheels.org/simple/cheroot/cheroot-8.6.0-py2.py3-none-any.whl (104 kB)
Requirement already satisfied: cherrypy in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 7)) (18.6.1)
Requirement already satisfied: portend in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 8)) (3.1.0)
Requirement already satisfied: chardet in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 9)) (4.0.0)
Collecting notify2
  Downloading https://www.piwheels.org/simple/notify2/notify2-0.3.1-py2.py3-none-any.whl (8.0 kB)
Requirement already satisfied: puremagic in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 11)) (1.11)
Requirement already satisfied: guessit>=3.1.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 12)) (3.4.3)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.7/dist-packages (from cryptography->-r requirements.txt (line 3)) (1.15.0)
Requirement already satisfied: sgmllib3k in /usr/local/lib/python3.7/dist-packages (from feedparser>=6.0.0->-r requirements.txt (line 4)) (1.0.0)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from configobj->-r requirements.txt (line 5)) (1.16.0)
Requirement already satisfied: jaraco.functools in /usr/local/lib/python3.7/dist-packages (from cheroot->-r requirements.txt (line 6)) (3.5.0)
Requirement already satisfied: more-itertools>=2.6 in /usr/local/lib/python3.7/dist-packages (from cheroot->-r requirements.txt (line 6)) (8.12.0)
Requirement already satisfied: jaraco.collections in /usr/local/lib/python3.7/dist-packages (from cherrypy->-r requirements.txt (line 7)) (3.4.0)
Requirement already satisfied: zc.lockfile in /usr/local/lib/python3.7/dist-packages (from cherrypy->-r requirements.txt (line 7)) (2.0)
Requirement already satisfied: tempora>=1.8 in /usr/local/lib/python3.7/dist-packages (from portend->-r requirements.txt (line 8)) (4.1.2)
Requirement already satisfied: rebulk>=3.1.0 in /usr/local/lib/python3.7/dist-packages (from guessit>=3.1.0->-r requirements.txt (line 12)) (3.1.0)
Requirement already satisfied: python-dateutil in /usr/local/lib/python3.7/dist-packages (from guessit>=3.1.0->-r requirements.txt (line 12)) (2.8.2)
Requirement already satisfied: importlib-resources in /usr/local/lib/python3.7/dist-packages (from guessit>=3.1.0->-r requirements.txt (line 12)) (5.4.0)
Requirement already satisfied: babelfish>=0.6.0 in /usr/local/lib/python3.7/dist-packages (from guessit>=3.1.0->-r requirements.txt (line 12)) (0.6.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.7/dist-packages (from cffi>=1.12->cryptography->-r requirements.txt (line 3)) (2.21)
Requirement already satisfied: pytz in /usr/local/lib/python3.7/dist-packages (from tempora>=1.8->portend->-r requirements.txt (line 8)) (2021.3)
Requirement already satisfied: zipp>=3.1.0 in /usr/local/lib/python3.7/dist-packages (from importlib-resources->guessit>=3.1.0->-r requirements.txt (line 12)) (3.7.0)
Requirement already satisfied: jaraco.classes in /usr/local/lib/python3.7/dist-packages (from jaraco.collections->cherrypy->-r requirements.txt (line 7)) (3.2.1)
Requirement already satisfied: jaraco.text in /usr/local/lib/python3.7/dist-packages (from jaraco.collections->cherrypy->-r requirements.txt (line 7)) (3.6.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (from zc.lockfile->cherrypy->-r requirements.txt (line 7)) (60.2.0)
Building wheels for collected packages: cryptography
  Building wheel for cryptography (pyproject.toml): started
  Building wheel for cryptography (pyproject.toml): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmplulyisb9
       cwd: /tmp/pip-install-hh4mgb6e/cryptography_b3ad7a3fcd3b4bf29a4ce1783acd4ecd
  Complete output (157 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv7l-3.7
  creating build/lib.linux-armv7l-3.7/cryptography
  copying src/cryptography/utils.py -> build/lib.linux-armv7l-3.7/cryptography
  copying src/cryptography/fernet.py -> build/lib.linux-armv7l-3.7/cryptography
  copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-3.7/cryptography
  copying src/cryptography/__init__.py -> build/lib.linux-armv7l-3.7/cryptography
  copying src/cryptography/__about__.py -> build/lib.linux-armv7l-3.7/cryptography
  creating build/lib.linux-armv7l-3.7/cryptography/x509
  copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-3.7/cryptography/x509
  copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-3.7/cryptography/x509
  copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-3.7/cryptography/x509
  copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-3.7/cryptography/x509
  copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-3.7/cryptography/x509
  copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-3.7/cryptography/x509
  copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-3.7/cryptography/x509
  copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/x509
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings
  copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/serialization
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl
  running egg_info
  no previously-included directories found matching 'docs/_build'
  warning: no previously-included files found matching 'vectors'
  warning: no previously-included files matching '*' found under directory 'vectors'
  warning: no previously-included files matching '*' found under directory '.github'
  warning: no previously-included files found matching 'release.py'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching 'codecov.yml'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'dev-requirements.txt'
  warning: no previously-included files found matching 'tox.ini'
  warning: no previously-included files found matching 'mypy.ini'
  warning: no previously-included files matching '*' found under directory '.zuul.d'
  warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  copying src/cryptography/py.typed -> build/lib.linux-armv7l-3.7/cryptography
  creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/_rust
  running build_ext

      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation/ for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq/
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation/#rust

      Python: 3.7.3
      platform: Linux-5.10.63-v7l+-armv7l-with-debian-10.11
      pip: 21.3.1
      setuptools: 60.2.0
      setuptools_rust: 1.1.2
      =============================DEBUG ASSISTANCE=============================

  error: can't find Rust compiler

  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

  To update pip, run:

      pip install --upgrade pip

  and then retry package installation.

  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

  This package requires Rust >=1.41.0.
  ----------------------------------------
  ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
[FAILED] DietPi-Software | pip3 install --no-cache-dir -Ur requirements.txt
RPi 4 Model B (armv7l) | IP: 192.168.178.75 | Use up/down buttons to scroll text────────────────────────────┤ DietPi-Software ├──────────────────────────────────────────────────┐
                                                          │  - Command: pip3 install --no-cache-dir -Ur requirements.txt
                                                          │  - Exit code: 1
                                                          │  - DietPi version: v7.9.3 (MichaIng/master) | HW_MODEL: 4 | HW_ARCH: 2 | DISTRO: 5
                                                          │  - Image creator: DietPi Core Team
                                                          │  - Pre-image: Raspberry Pi OS (32-bit) Lite
                                                          │  - Error log:
                                                          │ Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple/
                                                          │ Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment
                                                          │ Ignoring pyobjc: markers 'sys_platform == "darwin"' don't match your environment
                                                          │ Collecting sabyenc3>=4.0.0
                                                          │   Downloading https://www.piwheels.org/simple/sabyenc3/sabyenc3-4.0.2-cp37-cp37m-linux_armv7l.whl (27 kB)
                                                          │ Requirement already satisfied: cheetah3>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt
                                                          │ (line 2)) (3.2.6.post1)
                                                          │ Requirement already satisfied: cryptography in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt
                                                          │ (line 3)) (36.0.0)
                                                          │ Collecting cryptography
                                                          │   Downloading cryptography-36.0.1.tar.gz (572 kB)
                                                          │   Installing build dependencies: started
                                                          │   Installing build dependencies: finished with status 'done'
                                                          │   Getting requirements to build wheel: started
                                                          │   Getting requirements to build wheel: finished with status 'done'
                                                          │   Preparing metadata (pyproject.toml): started
                                                          │   Preparing metadata (pyproject.toml): finished with status 'done'
                                                          │ Requirement already satisfied: feedparser>=6.0.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt
                                                          │ (line 4)) (6.0.8)
                                                          │ Requirement already satisfied: configobj in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line
                                                          │ 5)) (5.0.6)
                                                          │ Requirement already satisfied: cheroot in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 6))
                                                          │ (8.5.2)
                                                          │ Collecting cheroot
                                                          │   Downloading https://www.piwheels.org/simple/cheroot/cheroot-8.6.0-py2.py3-none-any.whl (104 kB)
                                                          │ Requirement already satisfied: cherrypy in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line
                                                          │ 7)) (18.6.1)
                                                          │ Requirement already satisfied: portend in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 8))
                                                          │ (3.1.0)
                                                          │ Requirement already satisfied: chardet in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 9))
                                                          │ (4.0.0)
                                                          │ Collecting notify2
                                                          │   Downloading https://www.piwheels.org/simple/notify2/notify2-0.3.1-py2.py3-none-any.whl (8.0 kB)
                                                          │ Requirement already satisfied: puremagic in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line
                                                          │ 11)) (1.11)
                                                          │ Requirement already satisfied: guessit>=3.1.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt
                                                          │ (line 12)) (3.4.3)
                                                          │ Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.7/dist-packages (from cryptography->-r
                                                          │ requirements.txt (line 3)) (1.15.0)
                                                          │ Requirement already satisfied: sgmllib3k in /usr/local/lib/python3.7/dist-packages (from feedparser>=6.0.0->-r
                                                          │ requirements.txt (line 4)) (1.0.0)
                                                          │ Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from configobj->-r requirements.txt
                                                          │ (line 5)) (1.16.0)
                                                          │ Requirement already satisfied: jaraco.functools in /usr/local/lib/python3.7/dist-packages (from cheroot->-r
                                                          │ requirements.txt (line 6)) (3.5.0)
                                                          │ Requirement already satisfied: more-itertools>=2.6 in /usr/local/lib/python3.7/dist-packages (from cheroot->-r
                                                          │ requirements.txt (line 6)) (8.12.0)
                                                          │ Requirement already satisfied: jaraco.collections in /usr/local/lib/python3.7/dist-packages (from cherrypy->-r
                                                          │
                                                          │                        Retry          : Re-run the last command that failed                 ↑
                                                          │                        DietPi-Config  : Edit network, APT/NTP mirror settings etc           ▮
                                                          │
                                                          │
                                                          │                                  <Ok>                                      <Exit>
                                                          │                                                                                                                      │
                                                          └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Can you try again. Issue with cryptography wheel has been fixed by pipwheels guys. Latest version should be available as pre compiled wheel now.

https://github.com/piwheels/packages/issues/267

Worked! Awesome, thank you! Will be sending a donation your way.

Just for reference, here is the whole thing again. I even started with installing crypto again, just in case, which was obviously unnecessary:

root@DietPi:~# sudo pip3 install cryptography==36.0.0
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple/
Requirement already satisfied: cryptography==36.0.0 in /usr/local/lib/python3.7/dist-packages (36.0.0)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.7/dist-packages (from cryptography==36.0.0) (1.15.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.7/dist-packages (from cffi>=1.12->cryptography==36.0.0) (2.21)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv



root@DietPi:~# pip3 uninstall setuptools -y
Found existing installation: setuptools 60.2.0
Uninstalling setuptools-60.2.0:
  Successfully uninstalled setuptools-60.2.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv



root@DietPi:~# dietpi-software
[  OK  ] DietPi-Software | Initialised database
[  OK  ] DietPi-Software | Reading database
[  OK  ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for conflicts and missing inputs


 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for prerequisite software

[ INFO ] DietPi-Software | Python 3 will be installed
[ INFO ] DietPi-Software | UnRAR will be reinstalled
[  OK  ] DietPi-Software | Checking network connectivity
[  OK  ] DietPi-Software | Checking DNS resolver
[  OK  ] Network time sync | Completed
[ SUB1 ] DietPi-Services > unmask
[  OK  ] DietPi-Services | unmask : proftpd
[  OK  ] DietPi-Services | unmask : nmbd
[  OK  ] DietPi-Services | unmask : smbd
[  OK  ] DietPi-Services | unmask : nfs-kernel-server
[  OK  ] DietPi-Services | unmask : nzbget
[  OK  ] DietPi-Services | unmask : sonarr
[  OK  ] DietPi-Services | unmask : radarr
[  OK  ] DietPi-Services | unmask : docker
[  OK  ] DietPi-Services | unmask : cron
[ SUB1 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : docker
[  OK  ] DietPi-Services | stop : radarr
[  OK  ] DietPi-Services | stop : sonarr
[  OK  ] DietPi-Services | stop : nzbget
[  OK  ] DietPi-Services | stop : nfs-kernel-server
[  OK  ] DietPi-Services | stop : smbd
[  OK  ] DietPi-Services | stop : nmbd
[  OK  ] DietPi-Services | stop : proftpd
[ INFO ] DietPi-Software | APT update, please wait...
Hit:1 https://download.docker.com/linux/raspbian buster InRelease
Hit:2 https://download.mono-project.com/repo/debian raspbianbuster InRelease
Get:3 https://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:4 https://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB]
Hit:5 https://apt.sonarr.tv/debian buster InRelease
Get:6 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Fetched 13.4 MB in 25s (542 kB/s)
Reading package lists...
[  OK  ] DietPi-Software | APT update
[  OK  ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt /usr/local/bin
[  OK  ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[  OK  ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing Python 3: Runtime system, pip package installer and development headers

[  OK  ] DietPi-Software | Checking URL: https://bootstrap.pypa.io/pip/get-pip.py
[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[ INFO ] DietPi-Software | G_THREAD_START_0 | curl -sSfL https://bootstrap.pypa.io/pip/get-pip.py -o get-pip.py
[ INFO ] DietPi-Software | APT install for: python3-dev, please wait...
[  OK  ] DietPi-Software | APT install for: python3-dev
[  OK  ] DietPi-Software | G_THREAD: All threads finished
[ INFO ] DietPi-Software | python3 ./get-pip.py, please wait...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple/
Collecting pip
  Using cached https://www.piwheels.org/simple/pip/pip-21.3.1-py3-none-any.whl (1.7 MB)
Collecting setuptools
  Using cached https://www.piwheels.org/simple/setuptools/setuptools-60.2.0-py3-none-any.whl (953 kB)
Installing collected packages: setuptools, pip
  Attempting uninstall: pip
    Found existing installation: pip 21.3.1
    Uninstalling pip-21.3.1:
      Successfully uninstalled pip-21.3.1
Successfully installed pip-21.3.1 setuptools-60.2.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[  OK  ] DietPi-Software | python3 ./get-pip.py
[  OK  ] DietPi-Software | rm get-pip.py

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing UnRAR: unarchiver for .rar files

[  OK  ] DietPi-Software | Checking URL: https://dietpi.com/downloads/binaries/rpi/unrar-armhf-buster.deb
[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[  OK  ] DietPi-Software | curl -sSfL https://dietpi.com/downloads/binaries/rpi/unrar-armhf-buster.deb -o unrar-armhf-buster.deb
[ INFO ] DietPi-Software | APT install for: ./unrar-armhf-buster.deb, please wait...
[  OK  ] DietPi-Software | APT install for: ./unrar-armhf-buster.deb
[  OK  ] DietPi-Software | rm unrar-armhf-buster.deb

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing SABnzbd: nzb download manager

[  OK  ] DietPi-Software | Checking URL: https://github.com/sabnzbd/sabnzbd/archive/master.tar.gz
[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[ INFO ] DietPi-Software | G_THREAD_START_0 | curl -sSfL https://github.com/sabnzbd/sabnzbd/archive/master.tar.gz -o master.tar.gz
[ INFO ] DietPi-Software | APT install for: par2 p7zip-full, please wait...
[  OK  ] DietPi-Software | APT install for: par2 p7zip-full
[  OK  ] DietPi-Software | G_THREAD: All threads finished
[  OK  ] DietPi-Software | tar xf master.tar.gz
[  OK  ] DietPi-Software | rm master.tar.gz
[  OK  ] DietPi-Software | rm -R /etc/sabnzbd
[  OK  ] DietPi-Software | mv sabnzbd-master /etc/sabnzbd
[  OK  ] DietPi-Software | cd /etc/sabnzbd
[ INFO ] DietPi-Software | pip3 install --no-cache-dir -Ur requirements.txt, please wait...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple/
Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment
Ignoring pyobjc: markers 'sys_platform == "darwin"' don't match your environment
Collecting sabyenc3>=4.0.0
  Downloading https://www.piwheels.org/simple/sabyenc3/sabyenc3-4.0.2-cp37-cp37m-linux_armv7l.whl (27 kB)
Requirement already satisfied: cheetah3>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 2)) (3.2.6.post1)
Requirement already satisfied: cryptography in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 3)) (36.0.0)
Collecting cryptography
  Downloading https://www.piwheels.org/simple/cryptography/cryptography-36.0.1-cp37-cp37m-linux_armv7l.whl (1.9 MB)
Requirement already satisfied: feedparser>=6.0.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 4)) (6.0.8)
Requirement already satisfied: configobj in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 5)) (5.0.6)
Requirement already satisfied: cheroot in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 6)) (8.5.2)
Collecting cheroot
  Downloading https://www.piwheels.org/simple/cheroot/cheroot-8.6.0-py2.py3-none-any.whl (104 kB)
Requirement already satisfied: cherrypy in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 7)) (18.6.1)
Requirement already satisfied: portend in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 8)) (3.1.0)
Requirement already satisfied: chardet in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 9)) (4.0.0)
Collecting notify2
  Downloading https://www.piwheels.org/simple/notify2/notify2-0.3.1-py2.py3-none-any.whl (8.0 kB)
Requirement already satisfied: puremagic in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 11)) (1.11)
Requirement already satisfied: guessit>=3.1.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 12)) (3.4.3)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.7/dist-packages (from cryptography->-r requirements.txt (line 3)) (1.15.0)
Requirement already satisfied: sgmllib3k in /usr/local/lib/python3.7/dist-packages (from feedparser>=6.0.0->-r requirements.txt (line 4)) (1.0.0)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from configobj->-r requirements.txt (line 5)) (1.16.0)
Requirement already satisfied: jaraco.functools in /usr/local/lib/python3.7/dist-packages (from cheroot->-r requirements.txt (line 6)) (3.5.0)
Requirement already satisfied: more-itertools>=2.6 in /usr/local/lib/python3.7/dist-packages (from cheroot->-r requirements.txt (line 6)) (8.12.0)
Requirement already satisfied: jaraco.collections in /usr/local/lib/python3.7/dist-packages (from cherrypy->-r requirements.txt (line 7)) (3.4.0)
Requirement already satisfied: zc.lockfile in /usr/local/lib/python3.7/dist-packages (from cherrypy->-r requirements.txt (line 7)) (2.0)
Requirement already satisfied: tempora>=1.8 in /usr/local/lib/python3.7/dist-packages (from portend->-r requirements.txt (line 8)) (4.1.2)
Requirement already satisfied: rebulk>=3.1.0 in /usr/local/lib/python3.7/dist-packages (from guessit>=3.1.0->-r requirements.txt (line 12)) (3.1.0)
Requirement already satisfied: babelfish>=0.6.0 in /usr/local/lib/python3.7/dist-packages (from guessit>=3.1.0->-r requirements.txt (line 12)) (0.6.0)
Requirement already satisfied: importlib-resources in /usr/local/lib/python3.7/dist-packages (from guessit>=3.1.0->-r requirements.txt (line 12)) (5.4.0)
Requirement already satisfied: python-dateutil in /usr/local/lib/python3.7/dist-packages (from guessit>=3.1.0->-r requirements.txt (line 12)) (2.8.2)
Requirement already satisfied: pycparser in /usr/local/lib/python3.7/dist-packages (from cffi>=1.12->cryptography->-r requirements.txt (line 3)) (2.21)
Requirement already satisfied: pytz in /usr/local/lib/python3.7/dist-packages (from tempora>=1.8->portend->-r requirements.txt (line 8)) (2021.3)
Requirement already satisfied: zipp>=3.1.0 in /usr/local/lib/python3.7/dist-packages (from importlib-resources->guessit>=3.1.0->-r requirements.txt (line 12)) (3.7.0)
Requirement already satisfied: jaraco.classes in /usr/local/lib/python3.7/dist-packages (from jaraco.collections->cherrypy->-r requirements.txt (line 7)) (3.2.1)
Requirement already satisfied: jaraco.text in /usr/local/lib/python3.7/dist-packages (from jaraco.collections->cherrypy->-r requirements.txt (line 7)) (3.6.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (from zc.lockfile->cherrypy->-r requirements.txt (line 7)) (60.2.0)
Installing collected packages: cheroot, sabyenc3, notify2, cryptography
  Attempting uninstall: cheroot
    Found existing installation: cheroot 8.5.2
    Uninstalling cheroot-8.5.2:
      Successfully uninstalled cheroot-8.5.2
  Attempting uninstall: cryptography
    Found existing installation: cryptography 36.0.0
    Uninstalling cryptography-36.0.0:
      Successfully uninstalled cryptography-36.0.0
Successfully installed cheroot-8.6.0 cryptography-36.0.1 notify2-0.3.1 sabyenc3-4.0.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[  OK  ] DietPi-Software | pip3 install --no-cache-dir -Ur requirements.txt
[  OK  ] DietPi-Software | Verifying user "sabnzbd" to run SABnzbd
[  OK  ] DietPi-Software | useradd -rMN -g dietpi -d /etc/sabnzbd -s /usr/sbin/nologin sabnzbd
[  OK  ] DietPi-Software | chown -R sabnzbd:root .
[  OK  ] DietPi-Software | systemctl daemon-reload
[  OK  ] DietPi-Software | Starting SABnzbd to pre-create config file in max 25 seconds
[  OK  ] DietPi-Software | systemctl stop sabnzbd
[ INFO ] DietPi-Software | SABnzbd config file got created after 4 seconds
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: log_level = 0
[  OK  ] DietPi-Software | Desired setting in /etc/sabnzbd/sabnzbd.ini was already set: auto_browser = 0
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: host = 0.0.0.0
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: admin_dir = /mnt/dietpi_userdata/downloads/sabnzbd_admin
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: download_dir = /mnt/dietpi_userdata/downloads/incomplete
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: complete_dir = /mnt/dietpi_userdata/downloads/complete
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: nzb_backup_dir = /mnt/dietpi_userdata/downloads/sabnzbd_nzb_backup
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: permissions = 0775
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: refresh_rate = 2
[  OK  ] DietPi-Software | chown -R sabnzbd:dietpi /mnt/dietpi_userdata/downloads/incomplete
[  OK  ] DietPi-Software | chown -R sabnzbd:dietpi /mnt/dietpi_userdata/downloads/complete
[  OK  ] DietPi-Software | python3 -OO tools/make_mo.py
[  OK  ] DietPi-Software | chown -R sabnzbd:root .
[  OK  ] DietPi-Software | cd /tmp/DietPi-Software

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Finalising install

[  OK  ] DietPi-Software | systemctl daemon-reload
2022-01-05 06:04:26 [ INFO ] DietPi-RAMlog | Storing /var/log to /var/tmp/dietpi/logs/dietpi-ramlog_store...
2022-01-05 06:04:26 [  OK  ] DietPi-RAMlog | Stored /var/log to /var/tmp/dietpi/logs/dietpi-ramlog_store.
[ SUB1 ] DietPi-Services > dietpi_controlled
[  OK  ] DietPi-Services | dietpi_controlled : proftpd
[  OK  ] DietPi-Services | dietpi_controlled : nmbd
[  OK  ] DietPi-Services | dietpi_controlled : smbd
[  OK  ] DietPi-Services | dietpi_controlled : nfs-kernel-server
[  OK  ] DietPi-Services | dietpi_controlled : nzbget
[  OK  ] DietPi-Services | dietpi_controlled : sabnzbd
[  OK  ] DietPi-Services | dietpi_controlled : sonarr
[  OK  ] DietPi-Services | dietpi_controlled : radarr
[  OK  ] DietPi-Services | dietpi_controlled : docker
[  OK  ] DietPi-Services | dietpi_controlled : cron

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Install completed

[  OK  ] DietPi-Survey | Sending survey data
[ SUB1 ] DietPi-Services > restart
[  OK  ] DietPi-Services | restart : proftpd
[  OK  ] DietPi-Services | restart : nmbd
[  OK  ] DietPi-Services | restart : smbd
[  OK  ] DietPi-Services | restart : nfs-kernel-server
[  OK  ] DietPi-Services | restart : nzbget
[  OK  ] DietPi-Services | restart : sabnzbd
[  OK  ] DietPi-Services | restart : sonarr
[  OK  ] DietPi-Services | restart : radarr
[  OK  ] DietPi-Services | restart : docker
[  OK  ] DietPi-Services | restart : cron

yes, thx to pipwheels guys as they created the missing cryptography wheel quite quick.

As well the issue for setuptools will be fixed soon.