I'm trying to install a python implementation of a proxy re-encryption scheme I found [here](http://blog.davidvassallo.me/2016/04/11/proxy-re-encryption/).

When running `$ sudo python setup.py install` I get back an error

`fatal error: 'openssl/aes.h' file not found`

There are a few questions like this around ([this](https://stackoverflow.com/questions/33688875/how-to-install-cryptography-for-python3-in-mac-os-x) or [this](https://mikewebblive.wordpress.com/2017/04/24/kernel-fatal-error-opensslaes-h/) (not for mac)) but none of the answers there fixed my problem. 

I've tried (all taken from answers I found):

1. Running `env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography` and trying again;
2. `brew install openssl` and trying again;
3. `brew reinstall python` and trying again;

Option 1. returned

```
Requirement already satisfied: cryptography in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requirement already satisfied: six>=1.4.1 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: setuptools>=11.3 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: cffi>=1.4.1 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: pyasn1>=0.1.8 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: enum34 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: ipaddress in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: idna>=2.0 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cryptography)
Requirement already satisfied: pycparser in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cffi>=1.4.1->cryptography)

```

I'm running OSX 10.12.6.

Any ideas?