报错内容

 checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/tmp/pip-install-cxvq7zto/pycrypto':
    configure: error: C compiler cannot create executables

解决方案

apk add gcc g++ make libffi-dev openssl-dev

然后 pip install pycrypto

参考资料