title: Installing PyCrypto on Ubuntu - fatal error on build
body: <p>Having looked at other similar threads, I still can't get pycrypto running.</p>
  
  <p>I'm trying to get it working on my Ubuntu laptop - but I couldn't manage it on my Windows PC either.</p>
  
  <p>I downloaded pycrypto-2.6, extracted it, and ran</p>
  
  <pre><code>    python setup.py build
  </code></pre>
  
  <p>but then this happened</p>
  
  <pre><code>warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
  building 'Crypto.Hash._MD2' extension
  gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 - fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-i686-?2.7/src/MD2.o
  src/MD2.c:31:20: fatal error: Python.h: No such file or directory
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  </code></pre>
  
  <p>Would appreciate any help.</p>