安装pycrypto库时遭遇subprocess-exited-with-error错误的解决求助
安装pycrypto库时遭遇subprocess-exited-with-error错误的解决求助
我最近在安装pycrypto库,打算用它来编写AES 128 CBC算法的代码,但安装过程中碰到了报错,具体的错误信息如下:
C:\python\python_InternalLock>pip install pycrypto Collecting pycrypto Downloading pycrypto-2.6.1.tar.gz (446 kB) ---------------------------------------- 446.2/446.2 kB 2.3 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Building wheels for collected packages: pycrypto Building wheel for pycrypto (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [2 lines of output] warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath. error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools" [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pycrypto
有没有大佬能告诉我该怎么解决这个问题呀?
备注:内容来源于stack exchange,提问作者zzunsun
相关产品推荐
相关产品推荐

