我尝试在 Windows 10 上为 python 3.8.1 安装 kivy,但出现此错误

2022-01-15 00:00:00 python kivy

问题描述

我尝试在 Windows 10 上为 python 3.8.1 安装 kivy,但出现此错误.

I tried to install kivy for python 3.8.1 on windows 10 and I have this error.

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
----------------------------------------

错误:命令出错,退出状态为 1:python setup.py egg_info 检查日志以获取完整的命令输出.

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.


解决方案

你应该尝试在python 3.7中安装它,Kivy可能没有按照3.8更新.或者您可以按照在如何在 Python 3.8 中处理 Kivy 安装错误?

You should try installing it in python 3.7, Kivy may not be updated according to 3.8. Or you can follow this steps that explained in How to deal with Kivy installing error in Python 3.8?

祝你好运!

相关文章