• 安装pycrypto各种踩坑


    本意要安装paramiko,前提要先安装pycrypto

    先按照网上步骤:

    1.下载pycrypto源码

    官网:https://www.dlitz.net/software/pycrypto/
    github:https://github.com/dlitz/pycrypto
    下载源码解压,win+R运行cmd,进入解压文件夹

    python setup.py install

    2.安装过程中显示unable to find vcvarsall.bat

    根据网上说的查看Python36Libdistutils_msvccompiler.py

    然后根据vs的版本号对应关系如下:

    msvs2005版本号为8.0,对应环境变量VS80COMNTOOLS
    msvs2008版本号为9.0,对应环境变量VS90COMNTOOLS
    msvs2010版本号为10.0,对应环境变量VS100COMNTOOLS
    msvs2012版本号为11.0,对应环境变量VS110COMNTOOLS
    msvs2013版本号为12.0,对应环境变量VS120COMNTOOLS
    msvs2015版本号为14.0,对应环境变量VS140COMNTOOLS

    找到合适的版本为:msvs2015

    3.找到相应的版本后,下面是安装对应版本的msvs(Microsoft Visual Studio)

    如果是Visual Studio 2015,提供个百度经验上百度网盘给大家

    https://pan.baidu.com/s/1HgMoIRvD4My6duqYFnShqQ

     安装msvs2015时,参考网上图片选下面3个项

    下班前安装,然后第二天来看,安装成功(没受着,据说安装挺久的)

    根据网上的描述配置用户环境变量

    (1)变量名:VCINSTALLDIR
    变量值:C:Program Files (x86)Microsoft Visual Studio 14.0VC 【msvs2015安装的路径】
    (2) win+R运行cmd,执行命令set CL=/FI”%VCINSTALLDIR%INCLUDEstdint.h” %CL%
    (3)再次进入pycryto的解压文件夹python setup.py install ,看到

    D: oolspythonpycrypto-2.6.1>python setup.py install
    running install
    running build
    running build_py
    running build_ext
    warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.

    building 'Crypto.Random.OSRNG.winrandom' extension
    C:Program Files (x86)Microsoft Visual Studio 14.0VCBINx86_amd64cl.exe /c /
    nologo /Ox /W3 /GL /DNDEBUG /MD -Isrc/ -Isrc/inc-msvc/ "-IC:Program FilesPytho
    n36include" "-IC:Program FilesPython36include" "-IC:Program Files (x86)Mic
    rosoft Visual Studio 14.0VCINCLUDE" "-IC:Program Files (x86)Microsoft Visual
    Studio 14.0VCATLMFCINCLUDE" "-IC:Program Files (x86)Windows Kits10includ
    e10.0.10240.0ucrt" "-IC:Program Files (x86)Windows KitsNETFXSDK4.6.1inclu
    deum" "-IC:Program Files (x86)Windows Kits8.1include\shared" "-IC:Program
    Files (x86)Windows Kits8.1include\um" "-IC:Program Files (x86)Windows Kit
    s8.1include\winrt" /Tcsrc/winrand.c /Fobuild emp.win-amd64-3.6Releasesrc/w
    inrand.obj
    winrand.c
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(26):
    error C2061: syntax error: identifier 'intmax_t'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(27):
    error C2061: syntax error: identifier 'rem'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(27):
    error C2059: syntax error: ';'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(28):
    error C2059: syntax error: '}'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(30):
    error C2061: syntax error: identifier 'imaxdiv_t'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(30):
    error C2059: syntax error: ';'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(40):
    error C2143: syntax error: missing '{' before '__cdecl'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(41):
    error C2146: syntax error: missing ')' before identifier '_Number'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(41):
    error C2061: syntax error: identifier '_Number'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(41):
    error C2059: syntax error: ';'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(42):
    error C2059: syntax error: ')'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(45):
    error C2143: syntax error: missing '{' before '__cdecl'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(46):
    error C2146: syntax error: missing ')' before identifier '_Numerator'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(46):
    error C2061: syntax error: identifier '_Numerator'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(46):
    error C2059: syntax error: ';'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(46):
    error C2059: syntax error: ','
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(48):
    error C2059: syntax error: ')'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(50):
    error C2143: syntax error: missing '{' before '__cdecl'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(56):
    error C2143: syntax error: missing '{' before '__cdecl'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(63):
    error C2143: syntax error: missing '{' before '__cdecl'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(69):
    error C2143: syntax error: missing '{' before '__cdecl'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(76):
    error C2143: syntax error: missing '{' before '__cdecl'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(82):
    error C2143: syntax error: missing '{' before '__cdecl'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(89):
    error C2143: syntax error: missing '{' before '__cdecl'
    C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.h(95):
    error C2143: syntax error: missing '{' before '__cdecl'
    error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\
    x86_amd64\cl.exe' failed with exit status 2

    D: oolspythonpycrypto-2.6.1>

    跟网上说的不一样,没看到running install_egg_info

    然后检查自己的操作步骤和网上的步骤,发现貌似安装完msvs2015没有重启,然后关了所有应用,重启系统。

    重启后再次进入pycryto的解压文件夹python setup.py install ,看到和前面一样,然后再对比步骤,貌似没发现那里不对,然后感觉无奈,只能各种搜索各种看各种试【这里不再展示各种痛苦的尝试】。

    最后,在一篇文章中看到要在命令行中执行:set CL=/FI"%VCINSTALLDIR%\INCLUDE\stdint.h,想想之前貌似也执行过,不过还是再试试【已经到了“死猪不怕开水烫”的节奏了】

    上面的命令执行完后,再次进入pycryto的解压文件夹python setup.py install ,看到这次跑得比前面的时间要长了,仔细一看,哇,貌似有成功前的感觉(暗喜,焦急的等待着),终于不负我望成功了

    copying buildlib.win-amd64-3.6CryptoSelfTestCipher est_DES3.py -> C:Progra
    m FilesPython36Libsite-packagesCryptoSelfTestCipher
    copying buildlib.win-amd64-3.6CryptoSelfTestCipher est_pkcs1_15.py -> C:Pr
    ogram FilesPython36Libsite-packagesCryptoSelfTestCipher
    copying buildlib.win-amd64-3.6CryptoSelfTestCipher est_pkcs1_oaep.py -> C:
    Program FilesPython36Libsite-packagesCryptoSelfTestCipher
    copying buildlib.win-amd64-3.6CryptoSelfTestCipher est_XOR.py -> C:Program
    FilesPython36Libsite-packagesCryptoSelfTestCipher
    copying buildlib.win-amd64-3.6CryptoSelfTestHashcommon.py -> C:Program Fil
    esPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestHash est_HMAC.py -> C:Program
    FilesPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestHash est_MD2.py -> C:Program F
    ilesPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestHash est_MD4.py -> C:Program F
    ilesPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestHash est_MD5.py -> C:Program F
    ilesPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestHash est_RIPEMD.py -> C:Progra
    m FilesPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestHash est_SHA.py -> C:Program F
    ilesPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestHash est_SHA224.py -> C:Progra
    m FilesPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestHash est_SHA256.py -> C:Progra
    m FilesPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestHash est_SHA384.py -> C:Progra
    m FilesPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestHash est_SHA512.py -> C:Progra
    m FilesPython36Libsite-packagesCryptoSelfTestHash
    copying buildlib.win-amd64-3.6CryptoSelfTestProtocol est_AllOrNothing.py ->
    C:Program FilesPython36Libsite-packagesCryptoSelfTestProtocol
    copying buildlib.win-amd64-3.6CryptoSelfTestProtocol est_chaffing.py -> C:
    Program FilesPython36Libsite-packagesCryptoSelfTestProtocol
    copying buildlib.win-amd64-3.6CryptoSelfTestProtocol est_KDF.py -> C:Progr
    am FilesPython36Libsite-packagesCryptoSelfTestProtocol
    copying buildlib.win-amd64-3.6CryptoSelfTestPublicKey est_ElGamal.py -> C:
    Program FilesPython36Libsite-packagesCryptoSelfTestPublicKey
    copying buildlib.win-amd64-3.6CryptoSelfTestPublicKey est_importKey.py -> C
    :Program FilesPython36Libsite-packagesCryptoSelfTestPublicKey
    copying buildlib.win-amd64-3.6CryptoSelfTestPublicKey est_RSA.py -> C:Prog
    ram FilesPython36Libsite-packagesCryptoSelfTestPublicKey
    creating C:Program FilesPython36Libsite-packagesCryptoSelfTestRandomFort
    una
    copying buildlib.win-amd64-3.6CryptoSelfTestRandomFortuna est_FortunaAccum
    ulator.py -> C:Program FilesPython36Libsite-packagesCryptoSelfTestRandom
    Fortuna
    copying buildlib.win-amd64-3.6CryptoSelfTestRandomFortuna est_FortunaGener
    ator.py -> C:Program FilesPython36Libsite-packagesCryptoSelfTestRandomFo
    rtuna
    copying buildlib.win-amd64-3.6CryptoSelfTestRandomFortuna est_SHAd256.py -
    > C:Program FilesPython36Libsite-packagesCryptoSelfTestRandomFortuna
    copying buildlib.win-amd64-3.6CryptoSelfTestRandomFortuna\__init__.py -> C:
    Program FilesPython36Libsite-packagesCryptoSelfTestRandomFortuna
    creating C:Program FilesPython36Libsite-packagesCryptoSelfTestRandomOSRN
    G
    copying buildlib.win-amd64-3.6CryptoSelfTestRandomOSRNG est_fallback.py ->
    C:Program FilesPython36Libsite-packagesCryptoSelfTestRandomOSRNG
    copying buildlib.win-amd64-3.6CryptoSelfTestRandomOSRNG est_generic.py ->
    C:Program FilesPython36Libsite-packagesCryptoSelfTestRandomOSRNG
    copying buildlib.win-amd64-3.6CryptoSelfTestRandomOSRNG est_nt.py -> C:Pr
    ogram FilesPython36Libsite-packagesCryptoSelfTestRandomOSRNG
    copying buildlib.win-amd64-3.6CryptoSelfTestRandomOSRNG est_posix.py -> C:
    Program FilesPython36Libsite-packagesCryptoSelfTestRandomOSRNG
    copying buildlib.win-amd64-3.6CryptoSelfTestRandomOSRNG est_winrandom.py -
    > C:Program FilesPython36Libsite-packagesCryptoSelfTestRandomOSRNG
    copying buildlib.win-amd64-3.6CryptoSelfTestRandomOSRNG\__init__.py -> C:P
    rogram FilesPython36Libsite-packagesCryptoSelfTestRandomOSRNG
    copying buildlib.win-amd64-3.6CryptoSelfTestRandom est_random.py -> C:Prog
    ram FilesPython36Libsite-packagesCryptoSelfTestRandom
    copying buildlib.win-amd64-3.6CryptoSelfTestRandom est_rpoolcompat.py -> C:
    Program FilesPython36Libsite-packagesCryptoSelfTestRandom
    copying buildlib.win-amd64-3.6CryptoSelfTestRandom est__UserFriendlyRNG.py
    -> C:Program FilesPython36Libsite-packagesCryptoSelfTestRandom
    copying buildlib.win-amd64-3.6CryptoSelfTestSignature est_pkcs1_15.py -> C:
    Program FilesPython36Libsite-packagesCryptoSelfTestSignature
    copying buildlib.win-amd64-3.6CryptoSelfTestSignature est_pkcs1_pss.py -> C
    :Program FilesPython36Libsite-packagesCryptoSelfTestSignature
    copying buildlib.win-amd64-3.6CryptoSelfTestSignature\__init__.py -> C:Prog
    ram FilesPython36Libsite-packagesCryptoSelfTestSignature
    copying buildlib.win-amd64-3.6CryptoSelfTestUtil est_asn1.py -> C:Program
    FilesPython36Libsite-packagesCryptoSelfTestUtil
    copying buildlib.win-amd64-3.6CryptoSelfTestUtil est_Counter.py -> C:Progr
    am FilesPython36Libsite-packagesCryptoSelfTestUtil
    copying buildlib.win-amd64-3.6CryptoSelfTestUtil est_number.py -> C:Progra
    m FilesPython36Libsite-packagesCryptoSelfTestUtil
    copying buildlib.win-amd64-3.6CryptoSelfTestUtil est_winrandom.py -> C:Pro
    gram FilesPython36Libsite-packagesCryptoSelfTestUtil
    copying buildlib.win-amd64-3.6CryptoSelfTest\__init__.py -> C:Program Files
    Python36Libsite-packagesCryptoSelfTest
    copying buildlib.win-amd64-3.6CryptoSignaturePKCS1_PSS.py -> C:Program File
    sPython36Libsite-packagesCryptoSignature
    copying buildlib.win-amd64-3.6CryptoUtilasn1.py -> C:Program FilesPython36
    Libsite-packagesCryptoUtil
    copying buildlib.win-amd64-3.6CryptoUtilCounter.py -> C:Program FilesPytho
    n36Libsite-packagesCryptoUtil
    copying buildlib.win-amd64-3.6CryptoUtil umber.py -> C:Program FilesPython
    36Libsite-packagesCryptoUtil
    copying buildlib.win-amd64-3.6CryptoUtilpy3compat.py -> C:Program FilesPyt
    hon36Libsite-packagesCryptoUtil
    copying buildlib.win-amd64-3.6CryptoUtil andpool.py -> C:Program FilesPyth
    on36Libsite-packagesCryptoUtil
    copying buildlib.win-amd64-3.6CryptoUtilRFC1751.py -> C:Program FilesPytho
    n36Libsite-packagesCryptoUtil
    copying buildlib.win-amd64-3.6CryptoUtilstrxor.cp36-win_amd64.pyd -> C:Prog
    ram FilesPython36Libsite-packagesCryptoUtil
    copying buildlib.win-amd64-3.6CryptoUtilwinrandom.py -> C:Program FilesPyt
    hon36Libsite-packagesCryptoUtil
    copying buildlib.win-amd64-3.6CryptoUtil\_counter.cp36-win_amd64.pyd -> C:Pr
    ogram FilesPython36Libsite-packagesCryptoUtil
    copying buildlib.win-amd64-3.6CryptoUtil\_number_new.py -> C:Program FilesP
    ython36Libsite-packagesCryptoUtil
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoCipherARC2.py
    to ARC2.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoCipherARC4.py
    to ARC4.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoCipherlockal
    go.py to blockalgo.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoCipherBlowfis
    h.py to Blowfish.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoCipherCAST.py
    to CAST.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoCipherPKCS1_O
    AEP.py to PKCS1_OAEP.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoCipherPKCS1_v
    1_5.py to PKCS1_v1_5.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoCipherXOR.py
    to XOR.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoHashhashalgo.
    py to hashalgo.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoHashHMAC.py t
    o HMAC.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoHashMD5.py to
    MD5.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoHashSHA.py to
    SHA.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptopct_warnings.p
    y to pct_warnings.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoProtocolAllOr
    Nothing.py to AllOrNothing.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoProtocolChaff
    ing.py to Chaffing.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoProtocolKDF.p
    y to KDF.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoPublicKeyDSA.
    py to DSA.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoPublicKeypubk
    ey.py to pubkey.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoPublicKeyRSA.
    py to RSA.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoPublicKey\_DSA
    .py to _DSA.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoPublicKey\_RSA
    .py to _RSA.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoPublicKey\_slo
    wmath.py to _slowmath.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandomFortuna
    FortunaAccumulator.py to FortunaAccumulator.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandomFortuna
    FortunaGenerator.py to FortunaGenerator.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandomFortuna
    SHAd256.py to SHAd256.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandomFortuna
    \__init__.py to __init__.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandomOSRNGf
    allback.py to fallback.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandomOSRNG
    t.py to nt.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandomOSRNGp
    osix.py to posix.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandomOSRNG
    ng_base.py to rng_base.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandomOSRNG\_
    _init__.py to __init__.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandom andom.
    py to random.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoRandom\_UserFr
    iendlyRNG.py to _UserFriendlyRNG.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    rcommon.py to common.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    r est_AES.py to test_AES.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    r est_ARC2.py to test_ARC2.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    r est_ARC4.py to test_ARC4.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    r est_Blowfish.py to test_Blowfish.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    r est_CAST.py to test_CAST.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    r est_DES.py to test_DES.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    r est_DES3.py to test_DES3.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    r est_pkcs1_15.py to test_pkcs1_15.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    r est_pkcs1_oaep.py to test_pkcs1_oaep.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestCiphe
    r est_XOR.py to test_XOR.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    common.py to common.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    test_HMAC.py to test_HMAC.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    test_MD2.py to test_MD2.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    test_MD4.py to test_MD4.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    test_MD5.py to test_MD5.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    test_RIPEMD.py to test_RIPEMD.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    test_SHA.py to test_SHA.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    test_SHA224.py to test_SHA224.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    test_SHA256.py to test_SHA256.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    test_SHA384.py to test_SHA384.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestHash
    test_SHA512.py to test_SHA512.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestProto
    col est_AllOrNothing.py to test_AllOrNothing.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestProto
    col est_chaffing.py to test_chaffing.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestProto
    col est_KDF.py to test_KDF.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestPubli
    cKey est_ElGamal.py to test_ElGamal.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestPubli
    cKey est_importKey.py to test_importKey.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestPubli
    cKey est_RSA.py to test_RSA.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    mFortuna est_FortunaAccumulator.py to test_FortunaAccumulator.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    mFortuna est_FortunaGenerator.py to test_FortunaGenerator.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    mFortuna est_SHAd256.py to test_SHAd256.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    mFortuna\__init__.py to __init__.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    mOSRNG est_fallback.py to test_fallback.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    mOSRNG est_generic.py to test_generic.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    mOSRNG est_nt.py to test_nt.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    mOSRNG est_posix.py to test_posix.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    mOSRNG est_winrandom.py to test_winrandom.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    mOSRNG\__init__.py to __init__.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    m est_random.py to test_random.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    m est_rpoolcompat.py to test_rpoolcompat.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestRando
    m est__UserFriendlyRNG.py to test__UserFriendlyRNG.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestSigna
    ture est_pkcs1_15.py to test_pkcs1_15.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestSigna
    ture est_pkcs1_pss.py to test_pkcs1_pss.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestSigna
    ture\__init__.py to __init__.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestUtil
    test_asn1.py to test_asn1.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestUtil
    test_Counter.py to test_Counter.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestUtil
    test_number.py to test_number.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTestUtil
    test_winrandom.py to test_winrandom.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSelfTest\__ini
    t__.py to __init__.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoSignaturePKCS
    1_PSS.py to PKCS1_PSS.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoUtilasn1.py t
    o asn1.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoUtilCounter.p
    y to Counter.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoUtil umber.py
    to number.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoUtilpy3compat
    .py to py3compat.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoUtil andpool.
    py to randpool.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoUtilRFC1751.p
    y to RFC1751.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoUtilwinrandom
    .py to winrandom.cpython-36.pyc
    byte-compiling C:Program FilesPython36Libsite-packagesCryptoUtil\_number_n
    ew.py to _number_new.cpython-36.pyc
    running install_egg_info
    Writing C:Program FilesPython36Libsite-packagespycrypto-2.6.1-py3.6.egg-inf
    o

    D: oolspythonpycrypto-2.6.1>

    惊喜的看到了running install_egg_info

    然后,为了让同样踩坑的后来者们能更快的解决类似问题,我就花点时间罗列了一下,希望对大家有帮助,我自己也做个记录,以后再遇到这样的问题能快速解决。

     

  • 相关阅读:
    微软MSBI商业智能视频
    华为HG8245 电信 光猫破解获取超级密码
    Html5与CSS3权威指南 百度云下载
    GUI常用对象介绍3
    GUI常用对象介绍2
    GUI常用对象的属性
    AtCoder Beginner Contest 082 B
    AtCoder Beginner Contest 082 A
    回文字符串
    进制转换(大数)
  • 原文地址:https://www.cnblogs.com/simplezhuo/p/10286475.html
Copyright © 2020-2023  润新知