Collecting wordcloud
Using cached wordcloud - 1.3.1. Tar. Gz
The Requirement already satisfied: matplotlib in e: \ python \ lib \ site - packages (from wordcloud)
The Requirement already satisfied: numpy>=1.6.1 in e: \ python \ lib \ site - packages (from wordcloud)
The Requirement already satisfied: pillow in e: \ python \ lib \ site - packages (from wordcloud)
The Requirement already satisfied: six>=1.10 in e: \ python \ lib \ site - packages (from matplotlib - & gt; Wordcloud)
The Requirement already satisfied: cycler>=0.10 in e: \ python \ lib \ site - packages (from matplotlib - & gt; Wordcloud)
The Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6, & gt;=1.5.6 in e: \ python \ lib \ site - packages (from matplotlib - & gt; Wordcloud)
The Requirement already satisfied: pytz in e: \ python \ lib \ site - packages (from matplotlib - & gt; Wordcloud)
The Requirement already satisfied: python - dateutil in e: \ python \ lib \ site - packages (from matplotlib - & gt; Wordcloud)
The Requirement already satisfied: olefile in e: \ python \ lib \ site - packages (from pillow - & gt; Wordcloud)
Installing collected packages: wordcloud
Running the setup. Py install for wordcloud... The error
Exception:
Traceback (the most recent call last) :
The File "e: \ python \ lib \ site - packages, PIP, compat, set py", line 73, in console_to_str
Return s.d. ecode (sys. __stdout__. Encoding)
UnicodeDecodeError: 'utf-8' codec can 't decode byte 0 xa1 position in 55: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (the most recent call last) :
The File "e: \ python \ lib \ site - packages \ PIP \ basecommand py", line 215, in the main
Status=self. The run (options, args)
The File "e: \ python \ lib \ site - packages, PIP, commands, the py", line 342, in the run
The prefix=options. Prefix_path,
The File "e: \ python \ lib \ site - packages, PIP, the req \ req_set py", line 784, in the install
* * kwargs
The File "e: \ python \ lib \ site - packages, PIP, the req \ req_install py", line 878, in the install
Spinner=spinner,
The File "e: \ python \ lib \ site - packages \ PIP/utils/set py", line 676, in call_subprocess
The line=console_to_str (proc. Stdout. Readline ())
The File "e: \ python \ lib \ site - packages, PIP, compat, set py", line 75, in console_to_str
Return s.d. ecode (' utf_8)
UnicodeDecodeError: 'utf-8' codec can 't decode byte 0 xa1 position in 55: invalid start byte
CodePudding user response:
Making download and unpackWget https://github.com/amueller/word_cloud/archive/master.zip
Unzip the master.zip
The rm master.zip
CD word_cloud - master
Install depend on package
Sudo PIP install - r requirements. TXT
Install wordcloud
Python setup. Py install
CodePudding user response:
CodePudding user response:
Try see on another thread, pro available-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
First on http://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud, we need to download the corresponding version of the wordcloud WHL file, download it according to your demand,
Then, we in the CMD command line, enter to we just download the file path, use the
PIP install wordcloud 1.3.3 - cp36 - cp36m - win_amd64. WHL command to start the installation, about a minute can installing complete!
Copyright statement: this article to CSDN blogger (ticked down to) the original articles, follow BY CC 4.0 - SA the copyright agreement, reproduced and this statement, please attach the original source link
The original link: https://blog.csdn.net/qq_22499377/article/details/79207282