You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fatal error: python.h: No such file or directory
1 | #include <python.h>
solution
one should add the path in Ubuntu. Open python_headers.h and replace
#include <Python.h>
----------------with------------
#include <python3.11/Python.h> #or whatever python version path you are using
AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
solution
include in the requirement.txt file : Pillow==9.5.0
pip install Pillow==9.5.0 #or just install it through pip
fatal error: python.h: No such file or directory 1 | #include <python.h>
solution
one should add the path in Ubuntu. Open python_headers.h and replace #include <Python.h> ----------------with------------ #include <python3.11/Python.h> #or whatever python version path you are using
AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
solution
include in the requirement.txt file : Pillow==9.5.0
pip install Pillow==9.5.0 #or just install it through pip
_fatal error: python.h: No such file or directory
AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
The text was updated successfully, but these errors were encountered: