程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Summary of wordcloud installation in Python

編輯:Python

Install correctly python Medium wordcloud( Word cloud Library )

First step :

there √ Be sure to check it .

The second step :( Check if there is python Environment variables of )

that python Environment variables are automatically added .

The third step :( install wordcloud)

Use command :pip install wordcloud

Installation is not smooth , Download failed !!!

Use command :pip install wordcloud -iSimple Index****”( Try it from Tsinghua mirror station )

Or failure ???

Change another command :

C:UsersAdministratorAppDataLocalProgramsPythonPython38****python –m pip install wordcloud

Copy pythonIDLE Initial position , Then add the above Red character part .

If still not ???

Check the version of your computer is 32 A still 64 position . Then check what you downloaded from your computer python How many versions of .(3.8.10、3.9.0 still 3.8.9 wait ) Go again “https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud” Downloaded wordcloud.whl file .

Then find yourself python The version corresponds to whl Version number .

How to find ? for example : download python The version is 3.8.10 still 3.8.9…… It all belongs to 3.8 edition , Just find cp by 38 Of .

Download it to your computer . After downloading , Install first wheel, Use command **“pip install wheel”****.** install **“pip install D:wordcloud-1.6.0-cp38-cp38-win_amd64.whl”**

Be careful : Just downloaded here .whl Add... To the path of the file .( I downloaded it here D disc )

Check whether the installation is successful ???

open python Interactive or file based , Input :import wordcloud, If you automatically return to the next line, the installation is successful , If an error , There is no such module , This indicates that the installation failed .

This is about installation python in wordcloud This is the end of the article on several methods of , More about python wordcloud Please search the previous articles of SDN or continue to browse the related articles below. I hope you will support SDN more in the future !



  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved