[Python] Install wordcloud library

1. pip install wordcloud failed

Error Microsoft Visual C++ 14.0 is required

2. Directly want to download Microsoft Visual C++ 14.0

I couldn't find it for a long time - continue to look for the strategy to find a reliable one

#Strategy address: https://blog.csdn.net/m0_38015368/article/details/80182477

I didn't understand it at first, and then I saw another strategy

#StrategyAddress 2: https://blog.csdn.net/TH_NUM/article/details/77095177

I learned from here to install the wordcloud library that matches my system, but direct pip results in no match

3. Go directly to the library website to download the matching library

Library website address: https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud

Find the matching library here ----> winrandom‑1.2.1‑cp36‑cp36m‑win32.whl

36 represents the python3.6 version, I don't know about win32. Anyway, I tried 32 and 64. My system is 64-bit, but 64 reported an error, so I used 32

Then follow the guide, first find where the downloaded file is (use cmd to find it)

Then pip install wordcloud-1.4.1-cp36-cp36m-win32.whl directly in that directory (that is, the downloaded file name)

Then continue with pip install wordcloud

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325294520&siteId=291194637