1. First check your python version. The python version I use here is 3.6.1 32-bit, and then select the corresponding package to download;
2. After the download is completed, open cmd and use the pip command to install wheel
pip install wheel
If it prompts that pip is "not an internal command", we need to install pip first.
3. Next install the whl file, first switch to the desktop (the location of the file you downloaded)
cd Desktop
4. Execute the following command to install it
pip install wordcloud-1.3.3-cp36-cp36m-win32.whl
as follows Screenshot of successful installation:
Recommended tutorial: python tutorial
The above is the detailed content of How to install wordcloud library in python. For more information, please follow other related articles on the PHP Chinese website!