猕猴桃文字提供者错误 [英] Kivy. Text provider error

查看:133
本文介绍了猕猴桃文字提供者错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

开始一个简单的"Hello world"示例.并出现错误.

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.

系统:Centos. Python 2.7版

System: Centos. Python version 2.7

推荐答案

您缺少PyGame所需的SDL TTF库.在Ubuntu上,这是一个名为"libsdl-ttf2.0-dev"的系统软件包.我认为在CentOS上它被称为"SDL_ttf-devel".您可以通过查看为RedHat页面安装PyGame来确保已安装其余的PyGame依赖项.

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.

这篇关于猕猴桃文字提供者错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆