-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Only supported for TrueType fontsBug Report #1355
Comments
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 These steps should help to resolve the problem as described in the following GitHub thread: amueller/word_cloud#729. |
I think change code that install pip after that I can run and get result |
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
The text was updated successfully, but these errors were encountered: