error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

G:\Soft\python\word_cloud-master>python setup.py install

error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

本机已经安装了VS2015,可以通过增加以下环境变量来解决:

再次安装,提示:

RuntimeError: Broken toolchain: cannot link a simple C program

通过修改D:\IDE\Python27\Lib\distutils\msvc9compiler.py文件中的mfinfo=none进行解决

再次安装,提示:

 

问题参考:https://github.com/matplotlib/matplotlib/issues/3029/,问题未解决。

 

通过PIP进行Python包管理,首先下载安装pip,然后通过C:\Users\yan>pip install wordcloud 进行安装。

 

posted @ 2017-06-04 13:59  yshy  阅读(1375)  评论(0编辑  收藏  举报