Closed sailcom closed 2 years ago
安装pycryptodomex这个吧
安装pycryptodomex这个吧
谢谢!但依然安装失败,日志如下
开始安装依赖 pycryptodomex,开始时间 2022/6/10 22:57:25
Collecting pycryptodomex
Using cached pycryptodomex-3.14.1.tar.gz (3.4 MB)
Using legacy 'setup.py install' for pycryptodomex, since package 'wheel' is not installed.
Installing collected packages: pycryptodomex
Running setup.py install for pycryptodomex: started
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-49g2xdje/pycryptodomex_300662828d6d47aba27593f8a6a61703/setup.py'"'"'; __file__='"'"'/tmp/pip-install-49g2xdje/pycryptodomex_300662828d6d47aba27593f8a6a61703/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-zhh9w1qi/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/pycryptodomex
cwd: /tmp/pip-install-49g2xdje/pycryptodomex_300662828d6d47aba27593f8a6a61703/
Complete output (328 lines):
Testing support for clang
Target does not support clang
Testing support for gcc
Target does not support gcc
Testing support for stdint.h header
Target does not support stdint.h header
Testing support for 128-bit integer
Target does not support 128-bit integer
Testing support for cpuid.h header
Target does not support cpuid.h header
Testing support for intrin.h header
Target does not support intrin.h header
Testing support for posix_memalign
Target does not support posix_memalign
Testing support for memalign
Target does not support memalign
Testing support for SSE2(intrin.h)
Target does not support SSE2(intrin.h)
Testing support for SSE2(x86intrin.h)
Target does not support SSE2(x86intrin.h)
Testing support for SSE2(emmintrin.h)
Target does not support SSE2(emmintrin.h)
Warning: compiler does not support AESNI instructions
Warning: compiler does not support CLMUL instructions
running install
running build
running build_py
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/Cryptodome
copying lib/Cryptodome/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome
creating build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_siv.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/DES.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/ARC2.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_ocb.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/Blowfish.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/Salsa20.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_gcm.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_EKSBlowfish.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_ecb.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_eax.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/ARC4.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/DES3.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/ChaCha20.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_openpgp.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/CAST.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_ctr.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/PKCS1_OAEP.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/AES.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_cfb.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/ChaCha20_Poly1305.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/PKCS1_v1_5.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_ccm.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_ofb.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_cbc.py -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
creating build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/KMAC128.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA384.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA3_384.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/KMAC256.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA3_224.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA512.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/HMAC.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/TupleHash128.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA256.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/KangarooTwelve.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/RIPEMD160.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/MD5.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/cSHAKE256.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA224.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA3_256.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/cSHAKE128.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA1.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/BLAKE2b.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/TupleHash256.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/MD2.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHAKE256.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHAKE128.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/Poly1305.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA3_512.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/RIPEMD.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/keccak.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/CMAC.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/BLAKE2s.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/MD4.py -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
creating build/lib.linux-x86_64-3.9/Cryptodome/IO
copying lib/Cryptodome/IO/_PBES.py -> build/lib.linux-x86_64-3.9/Cryptodome/IO
copying lib/Cryptodome/IO/PEM.py -> build/lib.linux-x86_64-3.9/Cryptodome/IO
copying lib/Cryptodome/IO/PKCS8.py -> build/lib.linux-x86_64-3.9/Cryptodome/IO
copying lib/Cryptodome/IO/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/IO
creating build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/ECC.py -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/_openssh.py -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/ElGamal.py -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/DSA.py -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/RSA.py -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
creating build/lib.linux-x86_64-3.9/Cryptodome/Protocol
copying lib/Cryptodome/Protocol/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/Protocol
copying lib/Cryptodome/Protocol/KDF.py -> build/lib.linux-x86_64-3.9/Cryptodome/Protocol
copying lib/Cryptodome/Protocol/SecretSharing.py -> build/lib.linux-x86_64-3.9/Cryptodome/Protocol
creating build/lib.linux-x86_64-3.9/Cryptodome/Random
copying lib/Cryptodome/Random/random.py -> build/lib.linux-x86_64-3.9/Cryptodome/Random
copying lib/Cryptodome/Random/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/Random
creating build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Signature/DSS.py -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Signature/pss.py -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Signature/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Signature/PKCS1_PSS.py -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Signature/PKCS1_v1_5.py -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Signature/pkcs1_15.py -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
creating build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/_raw_api.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/_file_system.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/_cpu_features.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/asn1.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/Padding.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/RFC1751.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/strxor.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/py3compat.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/Counter.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/number.py -> build/lib.linux-x86_64-3.9/Cryptodome/Util
creating build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/_IntegerCustom.py -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/_IntegerNative.py -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/_IntegerGMP.py -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/Numbers.py -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/_IntegerBase.py -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/Primality.py -> build/lib.linux-x86_64-3.9/Cryptodome/Math
creating build/lib.linux-x86_64-3.9/Cryptodome/SelfTest
copying lib/Cryptodome/SelfTest/__main__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest
copying lib/Cryptodome/SelfTest/st_common.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest
copying lib/Cryptodome/SelfTest/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest
copying lib/Cryptodome/SelfTest/loader.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest
creating build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_DES3.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_ChaCha20.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_CCM.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_pkcs1_15.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/common.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_EAX.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_CBC.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_GCM.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_CTR.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_OFB.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_SIV.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_CFB.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_ARC4.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_CAST.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_pkcs1_oaep.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_DES.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_Salsa20.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_ARC2.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_ChaCha20_Poly1305.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_OCB.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_Blowfish.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_AES.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
copying lib/Cryptodome/SelfTest/Cipher/test_OpenPGP.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Cipher
creating build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_cSHAKE.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_MD4.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_SHA3_256.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_SHA512.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/common.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_keccak.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_SHA3_224.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_SHA3_384.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_CMAC.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_KMAC.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_HMAC.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_TupleHash.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_SHA256.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_SHA3_512.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_SHAKE.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_RIPEMD160.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_SHA224.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_BLAKE2.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_SHA384.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_SHA1.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_MD5.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_MD2.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_KangarooTwelve.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
copying lib/Cryptodome/SelfTest/Hash/test_Poly1305.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Hash
creating build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/IO
copying lib/Cryptodome/SelfTest/IO/test_PKCS8.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/IO
copying lib/Cryptodome/SelfTest/IO/test_PBES.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/IO
copying lib/Cryptodome/SelfTest/IO/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/IO
creating build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Protocol
copying lib/Cryptodome/SelfTest/Protocol/test_SecretSharing.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Protocol
copying lib/Cryptodome/SelfTest/Protocol/test_KDF.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Protocol
copying lib/Cryptodome/SelfTest/Protocol/test_rfc1751.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Protocol
copying lib/Cryptodome/SelfTest/Protocol/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Protocol
creating build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/PublicKey
copying lib/Cryptodome/SelfTest/PublicKey/test_import_DSA.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/PublicKey
copying lib/Cryptodome/SelfTest/PublicKey/test_import_RSA.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/PublicKey
copying lib/Cryptodome/SelfTest/PublicKey/test_ElGamal.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/PublicKey
copying lib/Cryptodome/SelfTest/PublicKey/test_DSA.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/PublicKey
copying lib/Cryptodome/SelfTest/PublicKey/test_RSA.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/PublicKey
copying lib/Cryptodome/SelfTest/PublicKey/test_ECC.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/PublicKey
copying lib/Cryptodome/SelfTest/PublicKey/test_import_ECC.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/PublicKey
copying lib/Cryptodome/SelfTest/PublicKey/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/PublicKey
creating build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Random
copying lib/Cryptodome/SelfTest/Random/test_random.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Random
copying lib/Cryptodome/SelfTest/Random/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Random
creating build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Signature
copying lib/Cryptodome/SelfTest/Signature/test_pkcs1_15.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Signature
copying lib/Cryptodome/SelfTest/Signature/test_dss.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Signature
copying lib/Cryptodome/SelfTest/Signature/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Signature
copying lib/Cryptodome/SelfTest/Signature/test_pss.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Signature
creating build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Util
copying lib/Cryptodome/SelfTest/Util/test_strxor.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Util
copying lib/Cryptodome/SelfTest/Util/test_Padding.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Util
copying lib/Cryptodome/SelfTest/Util/test_rfc1751.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Util
copying lib/Cryptodome/SelfTest/Util/test_asn1.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Util
copying lib/Cryptodome/SelfTest/Util/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Util
copying lib/Cryptodome/SelfTest/Util/test_Counter.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Util
copying lib/Cryptodome/SelfTest/Util/test_number.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Util
creating build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Math
copying lib/Cryptodome/SelfTest/Math/test_Numbers.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Math
copying lib/Cryptodome/SelfTest/Math/test_modexp.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Math
copying lib/Cryptodome/SelfTest/Math/test_Primality.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Math
copying lib/Cryptodome/SelfTest/Math/__init__.py -> build/lib.linux-x86_64-3.9/Cryptodome/SelfTest/Math
copying lib/Cryptodome/py.typed -> build/lib.linux-x86_64-3.9/Cryptodome
copying lib/Cryptodome/__init__.pyi -> build/lib.linux-x86_64-3.9/Cryptodome
copying lib/Cryptodome/Cipher/Salsa20.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/PKCS1_v1_5.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/AES.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/__init__.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_ccm.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/DES.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/ARC2.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_ofb.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_ecb.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/DES3.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/ARC4.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_siv.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_ctr.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_gcm.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/CAST.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_ocb.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_eax.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_EKSBlowfish.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/PKCS1_OAEP.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/ChaCha20.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_openpgp.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_cfb.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/ChaCha20_Poly1305.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/Blowfish.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Cipher/_mode_cbc.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Cipher
copying lib/Cryptodome/Hash/KMAC128.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA3_384.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHAKE256.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/BLAKE2b.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/KangarooTwelve.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA3_224.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA224.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/Poly1305.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA256.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/__init__.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/BLAKE2s.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/MD2.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA512.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA3_512.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/TupleHash128.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/keccak.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/HMAC.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/cSHAKE128.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/KMAC256.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA1.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/CMAC.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/RIPEMD.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/MD5.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/RIPEMD160.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHAKE128.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/TupleHash256.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA384.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/cSHAKE256.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/SHA3_256.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/Hash/MD4.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Hash
copying lib/Cryptodome/IO/PKCS8.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/IO
copying lib/Cryptodome/IO/_PBES.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/IO
copying lib/Cryptodome/IO/PEM.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/IO
copying lib/Cryptodome/PublicKey/RSA.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/__init__.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/ElGamal.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/DSA.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/_openssh.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/PublicKey/ECC.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/PublicKey
copying lib/Cryptodome/Protocol/SecretSharing.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Protocol
copying lib/Cryptodome/Protocol/__init__.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Protocol
copying lib/Cryptodome/Protocol/KDF.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Protocol
copying lib/Cryptodome/Random/random.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Random
copying lib/Cryptodome/Random/__init__.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Random
copying lib/Cryptodome/Signature/PKCS1_v1_5.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Signature/pss.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Signature/PKCS1_PSS.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Signature/DSS.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Signature/pkcs1_15.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Signature
copying lib/Cryptodome/Util/number.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/_cpu_features.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/py3compat.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/asn1.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/_file_system.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/Padding.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/_raw_api.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/strxor.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/Counter.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Util/RFC1751.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Util
copying lib/Cryptodome/Math/_IntegerNative.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/Primality.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/_IntegerGMP.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/Numbers.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/_IntegerBase.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Math
copying lib/Cryptodome/Math/_IntegerCustom.pyi -> build/lib.linux-x86_64-3.9/Cryptodome/Math
running build_ext
building 'Cryptodome.Hash._MD2' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/src
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=64 -DLTC_NO_ASM -Isrc/ -I/usr/include/python3.9 -c src/MD2.c -o build/temp.linux-x86_64-3.9/src/MD2.o
error: command 'gcc' failed: No such file or directory
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-49g2xdje/pycryptodomex_300662828d6d47aba27593f8a6a61703/setup.py'"'"'; __file__='"'"'/tmp/pip-install-49g2xdje/pycryptodomex_300662828d6d47aba27593f8a6a61703/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-zhh9w1qi/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/pycryptodomex Check the logs for full command output.
依赖安装失败,结束时间 2022/6/10 22:57:29,耗时 3.94 秒
重装gcc试试
从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送
发件人: @.> 发送时间: 2022年6月10日 23:00 收件人: @.> 抄送: @.>; @.> 主题: Re: [whyour/qinglong] Python3下的依赖pycrypto安装失败(2.13.1) (Issue #1439)
安装pycryptodomex这个吧
依然安装失败,日志如下 ` 开始安装依赖 pycryptodomex,开始时间 2022/6/10 22:57:25
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-49g2xdje/pycryptodomex_300662828d6d47aba27593f8a6a61703/setup.py'"'"'; file='"'"'/tmp/pip-install-49g2xdje/pycryptodomex_300662828d6d47aba27593f8a6a61703/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-zhh9w1qi/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/pycryptodomex Check the logs for full command output.
依赖安装失败,结束时间 2022/6/10 22:57:29,耗时 3.94 秒 `
― Reply to this email directly, view it on GitHubhttps://github.com/whyour/qinglong/issues/1439#issuecomment-1152454731, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APHASJBFAUATU4ZOHW5DXLLVONKATANCNFSM5XHOAB5Q. You are receiving this because you commented.Message ID: @.***>
重装gcc试试
感谢解答! 现在pycryptodomex环境已成功安装(但pycrypto还是安装失败,所以只好放弃)
安装pycryptodomex过程中出现 该BUG 2楼 所示错误信息, 按照 @wangquanfugui233 提示,在依赖管理的Linux标签卡下,安装了gcc和g++两个依赖。 之后再次回到Python3标签卡下安装pycryptodomex依赖成功。 尝试安装pycrypto依赖失败,尝试通过升级pip到最新版本后,再安装pycrypto还是失败。 所以干脆就放弃了pycrypto,使用pycryptodomex。
Python3进行了改变,不再使用pycrypto这个包了,而是换成了pycryptodomex。
end.
Linux
从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送
发件人: @.> 发送时间: 2022年6月11日 13:03 收件人: @.> 抄送: @.>; @.> 主题: Re: [whyour/qinglong] Python3下的依赖pycrypto安装失败(2.13.1) (Issue #1439)
重装gcc试试
感谢解答!我不是专业搞技术的,所以还得请教一下。 您的意思是,是 在青龙面板安装gcc依赖,还是 在linux环境里安装gcc呢? 我有宝塔面板,通过宝塔面板可以安装吗? 再次感谢!
― Reply to this email directly, view it on GitHubhttps://github.com/whyour/qinglong/issues/1439#issuecomment-1152857623, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APHASJFBFKCI56OSDIX3PBDVOQM2PANCNFSM5XHOAB5Q. You are receiving this because you commented.Message ID: @.***>
已升级到v2.13.1最新版本 NodeJS下的依赖已恢复正常。 但Python3下的依赖pycrypto安装失败 (我是从2.11版本升级的,升级前是正常的,升级后显示安装失败) 日志如下: