Start a simple sample of "Hello world". And got an error.
[CRITICAL] [Text ] Unable to find any valuable Text provider at all!
[CRITICAL] [App ] Unable to get a Text provider, abort.
Is it mean that I have no some font libs? Tried to install dev libs of actual fonts in system.
System: Centos. Python version 2.7
According to kivy.core.text
code:
...
# Load the appropriate provider
Label = core_select_lib('text', (
('pygame', 'text_pygame', 'LabelPygame'),
('sdlttf', 'text_sdlttf', 'LabelSDLttf'),
('pil', 'text_pil', 'LabelPIL'),
))
if 'KIVY_DOC' not in os.environ:
if not Label:
from kivy.logger import Logger
import sys
Logger.critical('App: Unable to get a Text provider, abort.')
sys.exit(1)
...
, your system is missing required package. Install one of them first.
You are missing the SDL TTF library required by PyGame. On Ubuntu, this is a system package called "libsdl-ttf2.0-dev". I think on CentOS it is called "SDL_ttf-devel". You can ensure you have the rest of the PyGame dependencies installed by looking at this PyGame install for RedHat page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With