pip install pycrypto works fine with python3.5.2 but fails wiht python3.6 with the following error:
pip install pycrypto
inttypes.h(26): error C2061: syntax e
Use PyCryptodome instead of pycrypto. pycrypto is discontinued and is no longer actively supported. PyCryptodome exposes almost the same API as pycrypto (source).