Home  >  Article  >  Backend Development  >  Installation method of wordcloud library based on python

Installation method of wordcloud library based on python

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼forward
2019-06-04 12:31:2427469browse

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.

Installation method of wordcloud library based on python

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.

Installation method of wordcloud library based on python

②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

③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.

Installation method of wordcloud library based on python

Just import wordcloud directly when writing!

The above is the detailed content of Installation method of wordcloud library based on python. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete