开始一个简单的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".您可以通过查看此 PyGame install for RedHat 页面来确保安装了其余的 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.
这篇关于基维.文本提供程序错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!