Open BnBear123 opened 1 year ago
I also meet this issue with ydata_profiling==v4.2.0.
+1
The issue you're encountering is with the WordCloud library, but fortunately, it has a simple solution. By executing the command pip install --upgrade pip
and pip install --upgrade Pillow
to make sure that you have the latest version of the Pillow library, which WordCloud relies on for its operations.
These steps should help to resolve the problem as described in the following GitHub thread: https://github.com/amueller/word_cloud/issues/729.
I think change code that install pip
before
!pip install -U pandas-profiling
after
!pip install -U ydata-profiling
after that I can run and get result https://colab.research.google.com/github/ydataai/pandas-profiling/blob/master/examples/meteorites/meteorites_cloud.ipynb
Thanks @BnBear123 , that also worked for me!
Current Behaviour
I just run the Example "[NASA Meteorites](comprehensive set of meteorite landing - object properties and locations)" in Colab
ValueError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/IPython/core/formatters.py in call(self, obj) 343 method = get_real_method(obj, self.print_method) 344 if method is not None: --> 345 return method() 346 return None 347 else:
22 frames /usr/local/lib/python3.10/dist-packages/PIL/ImageDraw.py in textbbox(self, xy, text, font, anchor, spacing, align, direction, features, language, stroke_width, embedded_color) 649 font = self.getfont() 650 if not isinstance(font, ImageFont.FreeTypeFont): --> 651 raise ValueError("Only supported for TrueType fonts") 652 mode = "RGBA" if embedded_color else self.fontmode 653 bbox = font.getbbox(
ValueError: Only supported for TrueType fonts
Expected Behaviour
the report contained
Data Description
https://data.nasa.gov/Space-Science/Meteorite-Landings/gh4g-9sfh
Code that reproduces the bug
pandas-profiling version
v3.6.6
Dependencies
OS
Colab
Checklist