Home > Article > Backend Development > How to install word cloud wordcloud in python
Wordcloud based on python is a very popular technology recently, and before learning this technology, you must learn to install it. Let me introduce to you the installation steps of wordcloud.
Tip:
Many third-party components of python are whl files, including wordcloud, so first What needs to be solved is how to install the whl file. Today we will introduce how to install the whl file.
First recommend an informal third-party whl file package website:
https://www.lfd.uci.edu/~gohlke/pythonlibs/
①First Check your python version. The python version I use is 3.6.1 32-bit, and then select the corresponding package to download.
②After the download is completed, open cmd, install wheel with pip and execute the command.
pip install wheel
If you are prompted that pip is "not an internal command", install pip first.
Related recommendations: "Python Video Tutorial"
③After installing wheel, install the whl file, first switch to the desktop (the file I downloaded is on the desktop), Find the file to be installed and execute the command.
cd Desktop
④Execute the command.
pip install wordcloud-1.3.3-cp36-cp36m-win32.whl
Installation
⑤ Once you see this, everything will be fine.
Just import wordcloud directly when writing!
The above is the detailed content of How to install word cloud wordcloud in python. For more information, please follow other related articles on the PHP Chinese website!