error: command ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe‘ f

pip install https://github.com/kpu/kenlm/archive/master.zip
安装kenlm包报错:error: command ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe’ failed with exit status 2

解决方案:
先从github下载kenlm压缩包
然后把kenlm包放到pycharm虚拟环境(TextGAN-PyTorch_venv)能找到的地方
error: command ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe‘ f_第1张图片python setup.py install
error: command ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe‘ f_第2张图片最终kenlm包安装成功

你可能感兴趣的:(软件安装,microsoft,c语言,visual,studio)