用python安装mmseg分词包时发生了 Unable to find vcvarsall.bat 错误
Searching for mmseg Reading http://pypi.python.org/simple/mmseg/ Best match: mmseg 1.3.0 Downloading http://pypi.python.org/packages/source/m/mmseg/mmseg-1.3.0.tar.gz#md 5=ebf97c3d1cc541d0a2241f87174734d0 Processing mmseg-1.3.0.tar.gz Running mmseg-1.3.0\setup.py -q bdist_egg --dist-dir c:\users\yukaiz~1\appdata\l ocal\temp\easy_install-7ksgyu\mmseg-1.3.0\egg-dist-tmp-c7jx3g error: Setup script exited with error: Unable to find vcvarsall.bat
在网上查了一些资料,最后找到的正确处理方式是安装mingw,mingw是sourceforge上的一个开源项目,编译器提供了很多种的编译器。
setup.py install build --compiler=mingw32
python easy_install 发生Unable to find vcvarsall.bat错误的处理方法
原文:http://www.cnblogs.com/chjbbs/p/3513081.html