This has something to do with the version of GMP installed. As you can see from the above error, PyCrypto needs libgmp version >=5. To fix this, follow the below given steps.
Download and install gmp-6.0.0.a
$ bunzip2 gmp-6.0.0a.tar.bz2 $ tar xvf gmp-6.0.0a.tar $ cd gmp-6.0.0a.tar
$ make check
$ make install
Now you have the right version of GMP installed and with these libraries you can install PyCrypto. To do that, run the below command.
$ pip install --ignore-installed PyCrypto
Hope this will work.