For generating word cloud in Python, modules needed are – matplotlib, numpy wordcloud and so on. To install these packages, run the following commands:
pip install matplotlib
pip install wordcloud
pip install numpy
pip install imread
If you're going to deal with Chinese characters, run the following commands:
pip install jieba
pip install zhon
If the download network speed is slow, you can try the following commands:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jieba
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple zhon
Where should I run the above commands?
Click the Terminal button in the lower left corner of PyCharm, and then run the commands above.