yum -y install gcc python-devel python-pip

tar jxf gmp-6.1.2.tar.bz2
cd gmp-6.1.2
./configure
make
make check
make install

export ac_cv_func_malloc_0_nonnull=yes
pip install --ignore-installed PyCrypto