python - 如何处理Python 3.8中Kivy安装错误?

标签 python python-3.x windows-10 kivy python-3.8

我已经从 Kivy 安装了 Python 中所有必要的代码,但是我需要的最后一个代码是 python -m pip install kivy 给我一个这样的错误:

ERROR: Dependency for context.pyx not resolved: config.pxi
ERROR: Dependency for compiler.pyx not resolved: config.pxi
ERROR: Dependency for context_instructions.pyx not resolved: config.pxi
ERROR: Dependency for fbo.pyx not resolved: config.pxi
ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi
ERROR: Dependency for instructions.pyx not resolved: config.pxi
ERROR: Dependency for opengl.pyx not resolved: config.pxi
ERROR: Dependency for opengl_utils.pyx not resolved: config.pxi
ERROR: Dependency for shader.pyx not resolved: config.pxi
ERROR: Dependency for stencil_instructions.pyx not resolved: config.pxi
ERROR: Dependency for scissor_instructions.pyx not resolved: config.pxi
ERROR: Dependency for texture.pyx not resolved: config.pxi
ERROR: Dependency for vbo.pyx not resolved: config.pxi
ERROR: Dependency for vertex.pyx not resolved: config.pxi
ERROR: Dependency for vertex_instructions.pyx not resolved: config.pxi
ERROR: Dependency for cgl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_mock.pyx not resolved: config.pxi
ERROR: Dependency for cgl_gl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_glew.pyx not resolved: config.pxi
ERROR: Dependency for cgl_sdl2.pyx not resolved: config.pxi
ERROR: Dependency for svg.pyx not resolved: config.pxi
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

我使用的是Windows 10,请帮忙!

最佳答案

这对我有用:

matham 于 15 天前发表评论 我们不太可能向 pypi 发布 3.8 的 1.11.1 版本。但是,您可以使用以下命令安装 kivy master:

pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/

关于python - 如何处理Python 3.8中Kivy安装错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59125232/

相关文章:

python - 清理从文件 python 中读取的字符串

python - 用于监视服务器运行状况的脚本库?

python-3.x - Tkinter:使用 after() 使函数定期运行

python-3.x - 为什么我的程序停止响应并崩溃?

c# - XAML:为什么不能将 T 的子类添加到 T 的集合中?

python - 更新文件中的字典

python - 在 for 循环中使用 argparse add_argument

Python 比较和删除文件

c# - 打开停靠在 WPF 中的 Windows 10 触摸键盘

powershell - 如何测试powershell中是否有事件的网络连接?