解决'AttributeError: 'ImageDraw' object has no attribute 'textbbox'' 错误
这个错误通常是由于使用了过时的Python Imaging Library(PIL)版本引起的。尝试更新PIL库,例如:
pip install --upgrade pillow
如果更新PIL仍然无法解决问题,可以尝试安装较旧版本的WordCloud库,例如:
pip install wordcloud==1.7.0
注意:在更改库版本之前,请先备份您的代码。
原文地址: https://www.cveoy.top/t/topic/oAID 著作权归作者所有。请勿转载和采集!