pycharm添加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
windows 7 32bit
python3.6.3 32bit
pycharm2018社区版 32bit
问题说明:
添加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. 打开https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud网页,下载相应的wordcloud模块
2. 使用命令行cmd切换到此模块的文件夹下,运行此模块
pip install wordcloud-1.4.1-cp36-cp36m-win32.whl
3. 发现新的报错
4. 继续在刚才的网站上下载pip模块,按照上面的方法安装。然后重新安装wordcloud就ok了