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

Installation method of wordcloud library based on python

爱喝马黛茶的安东尼
Release: 2019-06-04 12:31:24
forward
27531 people have browsed it

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template