开始一个简单的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模板网!
如何制作一个在 Python 中提供角色的不和谐机器人How to make a discord bot that gives roles in Python?(如何制作一个在 Python 中提供角色的不和谐机器人?)
Discord 机器人没有响应命令Discord bot isn#39;t responding to commands(Discord 机器人没有响应命令)
你能得到“关于我"吗?Discord 机器人的功能?Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“关于我吗?Discord 机器人的功能?(不和谐.py))
message.channel.id Discord PYmessage.channel.id Discord PY(message.channel.id Discord PY)
如何在 heroku 上托管我的 discord.py 机器人?How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 机器人?)
discord.py - 自动更改角色颜色discord.py - Automaticaly Change an Role Color(discord.py - 自动更改角色颜色)