Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pycryptodome setup.py fails during installation (Python 3.6) #4

Open
Austint30 opened this issue Apr 12, 2018 · 2 comments
Open

Pycryptodome setup.py fails during installation (Python 3.6) #4

Austint30 opened this issue Apr 12, 2018 · 2 comments

Comments

@Austint30
Copy link

Austint30 commented Apr 12, 2018

I am trying to install django-warrant which uses python-jose-cryptodome as a dependency, but python-jose-cryptodome installation will always fail due to an obscure pycryptodome setup error. I am attempting to use django-warrant with Django 2.0.4 and Python 3.6.

Pip Output

    Complete output from command C:\Users\<username>\project\python\Planner\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\<username>\\AppData\\Local\\Temp\\pip-build-mm2ovfy_\\pycryptodome\\setup.py';f=getattr(tokenize
, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\<username>\AppData\Local\Temp\pip-ma26u5v3-record\install-record.txt --single-version-externally-managed --comp
ile --install-headers C:\Users\<username>\project\python\Planner\venv\include\site\python3.6\pycryptodome:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.6
    creating build\lib.win-amd64-3.6\Crypto
    copying lib\Crypto\pct_warnings.py -> build\lib.win-amd64-3.6\Crypto
    copying lib\Crypto\__init__.py -> build\lib.win-amd64-3.6\Crypto
    creating build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\AES.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\ARC2.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\ARC4.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\Blowfish.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\CAST.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\ChaCha20.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\DES.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\DES3.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\PKCS1_OAEP.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\PKCS1_v1_5.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\Salsa20.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_cbc.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_ccm.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_cfb.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_ctr.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_eax.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_ecb.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_gcm.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_ocb.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_ofb.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_openpgp.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\_mode_siv.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    copying lib\Crypto\Cipher\__init__.py -> build\lib.win-amd64-3.6\Crypto\Cipher
    creating build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\BLAKE2b.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\BLAKE2s.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\CMAC.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\HMAC.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\keccak.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\MD2.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\MD4.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\MD5.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\RIPEMD.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\RIPEMD160.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHA.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHA1.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHA224.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHA256.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHA384.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHA3_224.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHA3_256.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHA3_384.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHA3_512.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHA512.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHAKE128.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\SHAKE256.py -> build\lib.win-amd64-3.6\Crypto\Hash
    copying lib\Crypto\Hash\__init__.py -> build\lib.win-amd64-3.6\Crypto\Hash
    creating build\lib.win-amd64-3.6\Crypto\IO
    copying lib\Crypto\IO\PEM.py -> build\lib.win-amd64-3.6\Crypto\IO
    copying lib\Crypto\IO\PKCS8.py -> build\lib.win-amd64-3.6\Crypto\IO
    copying lib\Crypto\IO\_PBES.py -> build\lib.win-amd64-3.6\Crypto\IO
    copying lib\Crypto\IO\__init__.py -> build\lib.win-amd64-3.6\Crypto\IO
    creating build\lib.win-amd64-3.6\Crypto\PublicKey
    copying lib\Crypto\PublicKey\DSA.py -> build\lib.win-amd64-3.6\Crypto\PublicKey
    copying lib\Crypto\PublicKey\ElGamal.py -> build\lib.win-amd64-3.6\Crypto\PublicKey
    copying lib\Crypto\PublicKey\RSA.py -> build\lib.win-amd64-3.6\Crypto\PublicKey
    copying lib\Crypto\PublicKey\__init__.py -> build\lib.win-amd64-3.6\Crypto\PublicKey
    creating build\lib.win-amd64-3.6\Crypto\Protocol
    copying lib\Crypto\Protocol\KDF.py -> build\lib.win-amd64-3.6\Crypto\Protocol
    copying lib\Crypto\Protocol\SecretSharing.py -> build\lib.win-amd64-3.6\Crypto\Protocol
    copying lib\Crypto\Protocol\__init__.py -> build\lib.win-amd64-3.6\Crypto\Protocol
    creating build\lib.win-amd64-3.6\Crypto\Random
    copying lib\Crypto\Random\random.py -> build\lib.win-amd64-3.6\Crypto\Random
    copying lib\Crypto\Random\__init__.py -> build\lib.win-amd64-3.6\Crypto\Random
    creating build\lib.win-amd64-3.6\Crypto\Signature
    copying lib\Crypto\Signature\DSS.py -> build\lib.win-amd64-3.6\Crypto\Signature
    copying lib\Crypto\Signature\pkcs1_15.py -> build\lib.win-amd64-3.6\Crypto\Signature
    copying lib\Crypto\Signature\PKCS1_PSS.py -> build\lib.win-amd64-3.6\Crypto\Signature
    copying lib\Crypto\Signature\PKCS1_v1_5.py -> build\lib.win-amd64-3.6\Crypto\Signature
    copying lib\Crypto\Signature\pss.py -> build\lib.win-amd64-3.6\Crypto\Signature
    copying lib\Crypto\Signature\__init__.py -> build\lib.win-amd64-3.6\Crypto\Signature
    creating build\lib.win-amd64-3.6\Crypto\Util
    copying lib\Crypto\Util\asn1.py -> build\lib.win-amd64-3.6\Crypto\Util
    copying lib\Crypto\Util\Counter.py -> build\lib.win-amd64-3.6\Crypto\Util
    copying lib\Crypto\Util\number.py -> build\lib.win-amd64-3.6\Crypto\Util
    copying lib\Crypto\Util\Padding.py -> build\lib.win-amd64-3.6\Crypto\Util
    copying lib\Crypto\Util\py3compat.py -> build\lib.win-amd64-3.6\Crypto\Util
    copying lib\Crypto\Util\RFC1751.py -> build\lib.win-amd64-3.6\Crypto\Util
    copying lib\Crypto\Util\strxor.py -> build\lib.win-amd64-3.6\Crypto\Util
    copying lib\Crypto\Util\_number_new.py -> build\lib.win-amd64-3.6\Crypto\Util
    copying lib\Crypto\Util\_raw_api.py -> build\lib.win-amd64-3.6\Crypto\Util
    copying lib\Crypto\Util\__init__.py -> build\lib.win-amd64-3.6\Crypto\Util
    creating build\lib.win-amd64-3.6\Crypto\Math
    copying lib\Crypto\Math\Numbers.py -> build\lib.win-amd64-3.6\Crypto\Math
    copying lib\Crypto\Math\Primality.py -> build\lib.win-amd64-3.6\Crypto\Math
    copying lib\Crypto\Math\_Numbers_gmp.py -> build\lib.win-amd64-3.6\Crypto\Math
    copying lib\Crypto\Math\_Numbers_int.py -> build\lib.win-amd64-3.6\Crypto\Math
    copying lib\Crypto\Math\__init__.py -> build\lib.win-amd64-3.6\Crypto\Math
    creating build\lib.win-amd64-3.6\Crypto\SelfTest
    copying lib\Crypto\SelfTest\st_common.py -> build\lib.win-amd64-3.6\Crypto\SelfTest
    copying lib\Crypto\SelfTest\__init__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest
    copying lib\Crypto\SelfTest\__main__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\common.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_AES.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_ARC2.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_ARC4.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_Blowfish.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_CAST.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_ChaCha20.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_DES.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_DES3.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_OCB.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_pkcs1_15.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_pkcs1_oaep.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\test_Salsa20.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    copying lib\Crypto\SelfTest\Cipher\__init__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Cipher
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\common.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\loader.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_BLAKE2.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_CMAC.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_HMAC.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_keccak.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_MD2.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_MD4.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_MD5.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_RIPEMD160.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_SHA1.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_SHA224.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_SHA256.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_SHA384.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_SHA3_224.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_SHA3_256.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_SHA3_384.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_SHA3_512.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_SHA512.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\test_SHAKE.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    copying lib\Crypto\SelfTest\Hash\__init__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\IO
    copying lib\Crypto\SelfTest\IO\test_PBES.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\IO
    copying lib\Crypto\SelfTest\IO\test_PKCS8.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\IO
    copying lib\Crypto\SelfTest\IO\__init__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\IO
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Protocol
    copying lib\Crypto\SelfTest\Protocol\test_KDF.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Protocol
    copying lib\Crypto\SelfTest\Protocol\test_rfc1751.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Protocol
    copying lib\Crypto\SelfTest\Protocol\test_SecretSharing.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Protocol
    copying lib\Crypto\SelfTest\Protocol\__init__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Protocol
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\PublicKey
    copying lib\Crypto\SelfTest\PublicKey\test_DSA.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\PublicKey
    copying lib\Crypto\SelfTest\PublicKey\test_ElGamal.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\PublicKey
    copying lib\Crypto\SelfTest\PublicKey\test_import_DSA.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\PublicKey
    copying lib\Crypto\SelfTest\PublicKey\test_import_RSA.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\PublicKey
    copying lib\Crypto\SelfTest\PublicKey\test_RSA.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\PublicKey
    copying lib\Crypto\SelfTest\PublicKey\__init__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\PublicKey
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Random
    copying lib\Crypto\SelfTest\Random\test_random.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Random
    copying lib\Crypto\SelfTest\Random\__init__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Random
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Signature
    copying lib\Crypto\SelfTest\Signature\nist.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature
    copying lib\Crypto\SelfTest\Signature\test_dss.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature
    copying lib\Crypto\SelfTest\Signature\test_pkcs1_15.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature
    copying lib\Crypto\SelfTest\Signature\test_pss.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature
    copying lib\Crypto\SelfTest\Signature\__init__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Util
    copying lib\Crypto\SelfTest\Util\test_asn1.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Util
    copying lib\Crypto\SelfTest\Util\test_Counter.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Util
    copying lib\Crypto\SelfTest\Util\test_number.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Util
    copying lib\Crypto\SelfTest\Util\test_Padding.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Util
    copying lib\Crypto\SelfTest\Util\test_strxor.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Util
    copying lib\Crypto\SelfTest\Util\__init__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Util
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Math
    copying lib\Crypto\SelfTest\Math\test_Numbers.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Math
    copying lib\Crypto\SelfTest\Math\test_Primality.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Math
    copying lib\Crypto\SelfTest\Math\__init__.py -> build\lib.win-amd64-3.6\Crypto\SelfTest\Math
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\SHA3
    copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHA3-224.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\SHA3
    copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHA3-256.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\SHA3
    copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHA3-384.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\SHA3
    copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHA3-512.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\SHA3
    copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHAKE128.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\SHA3
    copying lib\Crypto\SelfTest\Hash\test_vectors\SHA3\ShortMsgKAT_SHAKE256.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\SHA3
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ExtremelyLongMsgKAT_224.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ExtremelyLongMsgKAT_256.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ExtremelyLongMsgKAT_384.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ExtremelyLongMsgKAT_512.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\LongMsgKAT_224.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\LongMsgKAT_256.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\LongMsgKAT_384.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\LongMsgKAT_512.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\readme.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ShortMsgKAT_224.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ShortMsgKAT_256.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ShortMsgKAT_384.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    copying lib\Crypto\SelfTest\Hash\test_vectors\keccak\ShortMsgKAT_512.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\keccak
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\BLAKE2s
    copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2s\blake2s-test.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\BLAKE2s
    copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2s\tv1.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\BLAKE2s
    copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2s\tv2.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\BLAKE2s
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\BLAKE2b
    copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2b\blake2b-test.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\BLAKE2b
    copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2b\tv1.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\BLAKE2b
    copying lib\Crypto\SelfTest\Hash\test_vectors\BLAKE2b\tv2.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Hash\test_vectors\BLAKE2b
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\DSA
    copying lib\Crypto\SelfTest\Signature\test_vectors\DSA\FIPS_186_3_SigGen.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\DSA
    copying lib\Crypto\SelfTest\Signature\test_vectors\DSA\FIPS_186_3_SigVer.rsp -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\DSA
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5
    copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5\SigGen15_186-2.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5
    copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5\SigGen15_186-3.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5
    copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5\SigVer15_186-3.rsp -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\PKCS1-v1.5
    creating build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS
    copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS\SigGenPSS_186-2.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS
    copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS\SigGenPSS_186-3.txt -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS
    copying lib\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS\SigVerPSS_186-3.rsp -> build\lib.win-amd64-3.6\Crypto\SelfTest\Signature\test_vectors\PKCS1-PSS
    Skipping optional fixer: buffer
    Skipping optional fixer: idioms
    Skipping optional fixer: set_literal
    Skipping optional fixer: ws_comma
    running build_ext

    ----------------------------------------
  Rolling back uninstall of pycryptodome
Command "C:\Users\<username>\project\python\Planner\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\<username>\\AppData\\Local\\Temp\\pip-build-mm2ovfy_\\pycryptodome\\setup.py';f=getattr(tokenize, 'open', open)(__file__
);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\<username>\AppData\Local\Temp\pip-ma26u5v3-record\install-record.txt --single-version-externally-managed --compile --install-headers C:
\Users\<username>\project\python\Planner\venv\include\site\python3.6\pycryptodome" failed with error code 1 in C:\Users\<username>\AppData\Local\Temp\pip-build-mm2ovfy_\pycryptodome\```
@bm1216
Copy link

bm1216 commented Aug 17, 2018

Facing the same issue when using the package in a flask application

@garyd203
Copy link

This seems to be a Windows-specific problem with pycryptodome v3.3, which is specified by this project's setup.py.

I worked around this problem by pinning to a newer version of pycryptodome in my requirements.txt file. This forced pip to use a non-broken version (although I did get a warning message in my logs about incompatible versions, but at least it works).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants