你的错误信息里有提示:Unable to find any valuable window provider at all!
你一定是忽略了某些依赖。。。。
如果是新手的话,麻烦严格按照kivy推荐的安装步骤操作:
1、Ensure you have the latest pip and wheel:
python -m pip install --upgrade pip wheel setuptools
2、Install the dependencies (skip gstreamer (~120MB) if not needed, see Kivy’s dependencies):
python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
python -m pip install kivy.deps.gstreamer
For Python 3.5 only we additionally offer angle which can be used instead of glew and can be installed with:
python -m pip install kivy.deps.angle
3、Install kivy:
python -m pip install kivy
4、(Optionally) Install the kivy examples:
python -m pip install kivy_examples
到这里应该就没有什么问题了。
(做了个实验,一样从idle运行的)
如果你还想玩玩打包成apk的话,建议使用kivy自己的buildozer,一切都是自动化的,很方便。目前buildozer只支持linux。windows下,kivy提供buildozer的VirtualBox虚拟机。
用python+kivy发布几个自己的app还是挺好玩的!