环境搭建: pip install itchat numpy wordcloud matplotlib jieba 先把上面的几个包安装完成,直接上代码 import itchat from itchat.content import TEXT import re import os import numpy as np from PIL import Image from wordcloud.wordcloud import WordCloud if itchat.load_login_sta…