The error is as follows:
error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: https://visualstudio.microsoft.com/downloads/
—————————————-
Command “e:\soft\python3.6_ x64\ python.exe -u -c “import setuptools, tokenize;__ file__ =’C:\\Users\\RJ-TR19\\AppData\\Local\\Temp\\pip-build-q2fmqstd\\pycrypto\\ 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\RJ-TR19\AppData\Local\Temp\pip-dchg89ka-record\install- record.txt —
single-version-externally-managed –compile” failed with error code 1 in C:\Users\RJ-TR19\AppData\Local\Temp\pip-build-q2fmqstd\pycrypto\
The last pycrypto instruction is missing the package and needs to be installed
Method 1: choose according to the situation. This method is not very recommended. Otherwise, you have to download a file to install every time you can’t run into it
1. Download pycrypto-2.6.1-cp36-cp36m-win_ Amd64.whl file (the file is currently backed up in your own system)
Copy the file to the local Python installation package e:// soft/Python 3.6_ Then open the CMD window in the scripts directory and run the
pip install pycryptosat‑0.2.0‑cp36‑cp36m‑win_amd64.whl
2. Access to other plug-ins https://www.lfd.uci.edu/~gohlke/pythonlibs/ Search inside to find the version, install the same way
Download Microsoft Visual C + + 14.0
Choose the default way to install, the computer does not need to restart, directly PIP install the required plug-ins on the line
Address: https://download.csdn.net/download/weixin_ 41996632/12264862