使用pip安装package时报错:
1. Microsoft Visual C++ 14.0 is required.
2.'cl.exe' failed: No such file or directory
3. 'cl.exe' failed with exit status
可使用以下方式解决:
1. 安装Visual Studio的最新版Build Tools (https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16),直接安装最新版,不要安装2017,2015等,费时还不解决问题
2. 选择Workloads 中的C++ build tools.
3. 使用win10,则选择 “Windows 10 SDK” ,为了使用MSVC cl.exe
C / C++ compiler from the command line,则选择C++ build tools