I can't install with pip on Windows 10 (Python 3.6): C:\Users\zorgatone\Downloads\pycrypto-2.6.1\pycrypto-2.6.1 pip install pycrypto Collecting pycrypto Using cached ...
I had a requirement to use PyCrypto and was running Python 3.6.2. In summary it won't work. If you want to continue with Python 3.6.2, you need to use PyCryptodome ...
pip install pycrypto from Crypto.Cipher import AES from Crypto.Random import get_random_bytes key = get_random_bytes(32) cipher = AES.new(key, AES.MODE_EAX) ciphertext, tag = cipher.encrypt_and_digest ...