Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools"的解决办法——安装CNOCR失败解决
1. 安装CNOCR
$ pip install cnocr -i https://mirrors.aliyun.com/pypi/simple
报错:
Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools
2. 安装Microsoft C++ Build Tools
选Visual Studio 2015 update 3,文件类型为dvd下载
解压iso文件
安装VisualCppBuildTools Full.exe
3. 重新安装CNOCR
$ pip install cnocr -i https://mirrors.aliyun.com/pypi/simple