Failure to install cryptography module on python-3.5.7-browsers

I’m trying to install the cryptopgraphy module on python -3.5.7-browsers, but when I do, I get the following output:
Other sources have suggested installing some modules as follows:
apt-get install build-essential libssl-dev libffi-dev python-dev and upgrading pip. However, none of these options work.

The installation script is as follows:

        python -m venv venv
        . venv/bin/activate
        sudo pip install --upgrade pip
        sudo apt-get install build-essential libssl-dev libffi-dev python3-dev
        pip install -r requirements.txt

EDIT: this doesn’t look like a CircleCI issue: the cryptography version I’m trying to install (1.7.1) appears to be incompatible with Python 3.7. I can install later versions of cryptography just fine.

Glad to hear you narrowed it down. Good luck!