Termux Compilation error Cryptography

I got the same … for me it helps to follow the instructions on Installation — Cryptography 39.0.0.dev1 documentation and do this:

sudo apt-get install build-essential libssl-dev libffi-dev \
    python3-dev cargo

as user pi