wordcloud是python第三方库中一个构建词云的库,今天用了

pip install wordcloud

报错: 

 error: Microsoft Visual C++ 14.0 is required. Get it with 
"Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

 解决方案之一(亲测有效):

1.首先到第三库中下载wordcloud库,推荐这个网址

https://www.lfd.uci.edu/~gohlke/pythonlibs/(一定要选择对的版本号和电脑位数)

2.打开cmd安装wheel

pip install wheel

 3.直接将下载好的.whl文件拖到 pip install后面即可

pip install E:\python\wordcloud-1.5.0-cp37-cp37m-win32.whl

4.安装成功:

Installing collected packages: wordcloud
Successfully installed wordcloud-1.5.0

可以创建你的词云了,喵喵喵