Open nakic opened 6 months ago
Just found a workaround:
$ pip remove wordcloud $ pip install wordcloud==1.8.0
After that, works as expected. Also stumbled onto a comment saying that it's known that the latest version doesn't run on python 3.6 (and apparently later). Leaving this here for anyone who stumbles upon the same issue, FWIW.
Description
wordcloud fails to run due to (apparently) dependency version misalignment, producing the error below:
AttributeError: 'ImageDraw' object has no attribute 'textbbox'
The problem is mentioned in an SO thread, but no reliable solution was proposed.
Steps/Code to Reproduce
Expected Results
wordcloud runs without any CLI output and produces a PNG with a wordcloud.
Actual Results
See above. Repeatability is 100% out of several attempts on 2 separate machines, both running Ubuntu 20.04.
Versions