Open dilora011 opened 1 year ago
fatal error: python.h: No such file or directory
1 | #include
solution
one should add the path in Ubuntu. Open python_headers.h and replace
----------------with------------
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
solution
one should add the path in Ubuntu. Open python_headers.h and replace #include
----------------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
python=3.9.16 Pillow==9.5.0 it works
_fatal error: python.h: No such file or directory
AttributeError: 'FreeTypeFont' object has no attribute 'getsize'