https://blog.csdn.net/sinat_38961618/article/details/118059550我运行上述代码的第三部分制作词云 显示
在命令行窗口运行:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pillow
Image应该是导入的一个库 你这里应该没有导代码开头应该有这么一句from 库名 import Image这里也不知道你用的哪个库