Trying to install pycrypto on mac OS El capitan 10.11.6
<p>Trying to install pycrypto, running into an error </p>

<p>When i run </p>

<pre><code>&gt; sudo pip install pycrypto
</code></pre>

<p>I get </p>

<blockquote>
  <p>Command "/usr/bin/python -u -c "import setuptools,
  tokenize;<strong>file</strong>='/private/tmp/pip-build-tTSWlY/pycrypto/setup.py';exec(compile(getattr(tokenize,
  'open', open)(<strong>file</strong>).read().replace('\r\n', '\n'), <strong>file</strong>,
  'exec'))" install --record /tmp/pip-f6nrNy-record/install-record.txt
  --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-tTSWlY/pycrypto/</p>
</blockquote>

<p>Using <a href="http://conda.pydata.org/miniconda.html" rel="nofollow">miniconda</a>, you can simply do:</p>

<p><code>conda install pycrypto</code></p>

python osx terminal osx-elcapitan pycrypto