title: openssl/aes.h' file not found on Mac
body: <p>I'm trying to install a python implementation of a proxy re-encryption scheme I found <a href="http://blog.davidvassallo.me/2016/04/11/proxy-re-encryption/" rel="noreferrer">here</a>.</p>
  
  <p>When running <code>$ sudo python setup.py install</code> I get back an error</p>
  
  <p><code>fatal error: 'openssl/aes.h' file not found</code></p>
  
  <p>There are a few questions like this around (<a href="https://stackoverflow.com/questions/33688875/how-to-install-cryptography-for-python3-in-mac-os-x">this</a> or <a href="https://mikewebblive.wordpress.com/2017/04/24/kernel-fatal-error-opensslaes-h/" rel="noreferrer">this</a> (not for mac)) but none of the answers there fixed my problem. </p>
  
  <p>I've tried (all taken from answers I found):</p>
  
  <ol>
  <li>Running <code>env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography</code> and trying again;</li>
  <li><code>brew install openssl</code> and trying again;</li>
  <li><code>brew reinstall python</code> and trying again;</li>
  </ol>
  
  <p>Option 1. returned</p>
  
  <pre><code>Requirement already satisfied: cryptography in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
  Requirement already satisfied: six&gt;=1.4.1 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cryptography)
  Requirement already satisfied: setuptools&gt;=11.3 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cryptography)
  Requirement already satisfied: cffi&gt;=1.4.1 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from cryptography)
  Requirement already satisfied: pyasn1&gt;=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&gt;=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&gt;=1.4.1-&gt;cryptography)
  </code></pre>
  
  <p>I'm running OSX 10.12.6.</p>
  
  <p>Any ideas?</p>