python install wordcloud
今天听嵩老师的课,让装wordcloud词云库,我用pip安装出现了一些问题,还上网看了好多方法,最后终于成功了!开心,所以想跟大家分享一下。
Initial input : pip install wordcloud
error: Could not find a version that satisfies the requirement numpy (from versions :)
No matching distribution found for numpy
. Method of searching online:
Method 1: Use domestic mirror
pip install wordcloud -i http:// pypi.douban.com/simple/ --trusted-host pypi.douban.com
Method 2: Enter pip3 install wordcloud
The result is not useless. . . . . . .
Later, using another big brother's method, a miracle appeared——
1. Download the wordcloud compiled installation package, local installation method;
download address: https://www.lfd.uci.edu/~gohlke/pythonlibs/# wordcloud
2. Select the corresponding version to install (corresponding to the python installation version)
first check your own version: use cmd command, enter python,
and then find the corresponding wordcloud version
3. Local python install wheel, installation method pip, command: pip install wheel
4. After installing wheel, use pip to install and download to the local: wordcloud-1.6.0-cp36-cp36m-win_amd64.whl (you can download the corresponding version)
5. Finally, enter: pip install wordcloud and
you will find that it works .